Skip to content

Commit

Permalink
fix tests in dynamic-cdn-webpack-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien LE MOUILLOUR committed Nov 7, 2023
1 parent ec6a726 commit 77bc7e4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions fork/dynamic-cdn-webpack-plugin/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ test/fixtures/output
yarn.lock
.nyc_output
coverage
!test/fixtures/app/node_modules
1 change: 1 addition & 0 deletions fork/dynamic-cdn-webpack-plugin/test/core.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ describe('core', () => {

// then
const files = getChunkFiles(stats);
console.log('TOTOTOTOTOTOT', files);
expect(files).toHaveLength(3);
expect(files).toContain('app.js');
expect(files).toContain('https://unpkg.com/@babel/[email protected]/dist/polyfill.js');
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77bc7e4

Please sign in to comment.