Skip to content

Commit

Permalink
test: fix errant path
Browse files Browse the repository at this point in the history
  • Loading branch information
forivall committed Jan 20, 2022
1 parent 912e78f commit 8120c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/load-scripts.test.js
Expand Up @@ -76,7 +76,7 @@ t.test('loadScripts using production version', async t => {
t.ok(files.includes('app.js'));
t.ok(files.includes('https://unpkg.com/react@15.6.1/dist/react.min.js'));

const output = await fs.readFile(path.resolve(__dirname, './fixtures/output/loadScripts-node-env-prod/app.js'));
const output = await fs.readFile(path.resolve(__dirname, './fixtures/output/loadScripts-env-prod/app.js'));

// NOTE: not inside t.notOk to prevent ava to display whole file in console
const doesIncludeReact = output.includes('THIS IS REACT!');
Expand Down

0 comments on commit 8120c84

Please sign in to comment.