Update smoke-test
This commit is contained in:
parent
3c1836ab43
commit
b2524770f9
@ -44,15 +44,16 @@ try {
|
||||
}]
|
||||
]
|
||||
}
|
||||
`
|
||||
`
|
||||
);
|
||||
|
||||
fs.writeFileSync(
|
||||
path.join(tempFolderPath, "index.js"),
|
||||
`
|
||||
import "babel-polyfill";
|
||||
1 ** 2;
|
||||
`
|
||||
const foo = new Promise((resolve) => {
|
||||
resolve(new Map());
|
||||
});
|
||||
`
|
||||
);
|
||||
|
||||
process.chdir(tempFolderPath);
|
||||
@ -60,6 +61,7 @@ import "babel-polyfill";
|
||||
console.log("Running smoke test");
|
||||
execSync("npm install && npm run build");
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
errorOccurred = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user