Skip to content

Commit

Permalink
Add assertion for dirname trace
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Mar 18, 2022
1 parent 8294c71 commit 464a885
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/integration/production/test/index.test.js
Expand Up @@ -234,6 +234,17 @@ describe('Production Usage', () => {
/!/,
],
},
{
page: '/api/readfile-dirname',
tests: [/webpack-api-runtime\.js/, /static\/data\/item\.txt/],
notTests: [
/next\/dist\/server\/next\.js/,
/next\/dist\/bin/,
/\0/,
/\?/,
/!/,
],
},
{
page: '/api/readfile-processcwd',
tests: [/webpack-api-runtime\.js/, /static\/data\/item\.txt/],
Expand Down

0 comments on commit 464a885

Please sign in to comment.