Skip to content

Commit

Permalink
Expect browserslist to only prescribe woff
Browse files Browse the repository at this point in the history
I guess the browser features + usage statistics finally changed so woff isn't needed
  • Loading branch information
papandreou committed Jul 9, 2022
1 parent 92a7871 commit b70db9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/subfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ describe('subfont', function () {

describe('configuring via browserslist', function () {
// /~https://github.com/browserslist/browserslist#best-practices
it('should default to woff+woff2 when no config is given, due to the browserslist defaults', async function () {
it('should default to woff2 when no config is given, due to the browserslist defaults', async function () {
const dir = pathModule.resolve(
__dirname,
'..',
Expand All @@ -680,7 +680,7 @@ describe('subfont', function () {
);
expect(mockSubsetFonts, 'to have calls satisfying', () => {
mockSubsetFonts(expect.it('to be an object'), {
formats: ['woff2', 'woff'],
formats: ['woff2'],
});
});
} finally {
Expand Down

0 comments on commit b70db9b

Please sign in to comment.