Add smoketest for esbuild packaging

This commit is contained in:
Alex Dima 2022-02-05 00:55:28 +01:00
parent c0b99e4785
commit 208f9218f9
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
8 changed files with 98 additions and 3 deletions

View file

@ -16,7 +16,9 @@ const TESTS_TYPE = process.env.TESTS_TYPE || 'amd';
const URL =
TESTS_TYPE === 'amd'
? `http://127.0.0.1:${PORT}/test/smoke/amd.html`
: `http://127.0.0.1:${PORT}/test/smoke/webpack/webpack.html`;
: TESTS_TYPE === 'webpack'
? `http://127.0.0.1:${PORT}/test/smoke/webpack/webpack.html`
: `http://127.0.0.1:${PORT}/test/smoke/esbuild/esbuild.html`;
suite(`Smoke Test '${TESTS_TYPE}' on '${browserType}'`, () => {
/** @type {playwright.Browser} */