diff --git a/e2e/next-extensions/src/next-component-tests.test.ts b/e2e/next-extensions/src/next-component-tests.test.ts index 2a33b7cfdf587..3f3f10f6b05f7 100644 --- a/e2e/next-extensions/src/next-component-tests.test.ts +++ b/e2e/next-extensions/src/next-component-tests.test.ts @@ -36,6 +36,7 @@ describe('NextJs Component Testing', () => { it('should test a NextJs app using babel compiler', () => { const appName = uniq('next-app'); createAppWithCt(appName); + // add bable compiler to app addBabelSupport(`apps/${appName}`); if (runE2ETests()) { expect(runCLI(`component-test ${appName} --no-watch`)).toContain( @@ -47,6 +48,7 @@ describe('NextJs Component Testing', () => { it('should test a NextJs lib using babel compiler', async () => { const libName = uniq('next-lib'); createLibWithCt(libName, false); + // add bable compiler to lib addBabelSupport(`libs/${libName}`); if (runE2ETests()) { expect(runCLI(`component-test ${libName} --no-watch`)).toContain(