chore(react): fix e2e
This commit is contained in:
parent
b1dae52101
commit
4ae8886a04
@ -75,9 +75,9 @@ describe('React Applications', () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Library generated with Vite
|
// Library generated with Vite
|
||||||
checkFilesExist(`libs/${libName}/vite.config.ts`);
|
checkFilesExist(`${libName}/vite.config.ts`);
|
||||||
|
|
||||||
const mainPath = `apps/${appName}/src/main.tsx`;
|
const mainPath = `${appName}/src/main.tsx`;
|
||||||
updateFile(
|
updateFile(
|
||||||
mainPath,
|
mainPath,
|
||||||
`
|
`
|
||||||
@ -88,7 +88,7 @@ describe('React Applications', () => {
|
|||||||
|
|
||||||
runCLI(`build ${appName}`);
|
runCLI(`build ${appName}`);
|
||||||
|
|
||||||
checkFilesExist(`dist/apps/${appName}/index.html`);
|
checkFilesExist(`dist/${appName}/index.html`);
|
||||||
|
|
||||||
if (runE2ETests()) {
|
if (runE2ETests()) {
|
||||||
// TODO(Colum): investigate why webkit is failing
|
// TODO(Colum): investigate why webkit is failing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user