Skip to content

Commit

Permalink
test: tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyPi committed Dec 13, 2022
1 parent eaa82e3 commit a98df37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/samples/watch/bundle-error/_config.js
Expand Up @@ -16,7 +16,7 @@ module.exports = {
setTimeout(() => unlinkSync(mainFile), 300);
},
abortOnStderr(data) {
if (data.includes('Error: Unexpected token')) {
if (data.includes('[!] RollupError: Unexpected token')) {
setTimeout(() => atomicWriteFileSync(mainFile, 'export default 42;'), 500);
return false;
}
Expand Down

0 comments on commit a98df37

Please sign in to comment.