Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed Jan 8, 2021
1 parent 5017e72 commit 8a049ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/entry/flag-entry/entry-with-flag.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('entry flag', () => {
expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();
expect(existsSync(resolve(__dirname, './dist/main.js'))).toBeTruthy();
readFile(resolve(__dirname, './bin/main.js'), 'utf-8', (err, data) => {
readFile(resolve(__dirname, './dist/main.js'), 'utf-8', (err, data) => {
expect(err).toBe(null);
expect(data).toContain('Hello from a.js');
done();
Expand Down

0 comments on commit 8a049ae

Please sign in to comment.