Angular unit tests failed because of special character (UTF8 issue ?)

Discussão em 'Angular' iniciado por matt2mi, Abril 22, 2025.

  1. matt2mi

    matt2mi Guest

    I'm using angular 19 since couple of months and i test my app with karma in a bash temrinal.

    I don't know why and when but since some days, my unit tests failed on special characters not recognized by angular... And i didn't find anything on internet to solve this issue.

    I get theese errors :

    Expected 'Personnalisation publiée' to be 'Personnalisation publi�e'.

    Expected 'Aperçu' to be 'Aper�u'.


    [​IMG]

    If someone already faced that issue too, I would like to know what causes that issue, thanks !

    Continue reading...

Compartilhe esta Página