Skip to content

Commit

Permalink
Check in snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Jul 20, 2022
1 parent eda55ef commit 428e90e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/util/chart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ describe( 'chartFontName', () => {
} );

it( 'should return the default font name when no fontName argument is used', () => {
expect( chartFontName() ).toMatchImageSnapshot();
expect( chartFontName() ).toMatchInlineSnapshot(
'"\\"Google Sans Text\\", \\"Helvetica Neue\\", Helvetica, Arial, sans-serif"'
);
} );

it( 'should not return the default font styles WebFont is defined', () => {
Expand Down

0 comments on commit 428e90e

Please sign in to comment.