diff --git a/e2e/storybook/src/storybook.test.ts b/e2e/storybook/src/storybook.test.ts index 5aa70f8aa3..4c22b6ee7f 100644 --- a/e2e/storybook/src/storybook.test.ts +++ b/e2e/storybook/src/storybook.test.ts @@ -120,8 +120,8 @@ describe('Storybook generators and executors for monorepos', () => { ); runCLI(`run ${reactStorybookApp}:build-storybook --verbose`, { env: { - NX_CLOUD_ENCRYPTION_KEY: 'MY SECRET', - NX_CLOUD_ACCESS_TOKEN: 'MY SECRET', + NX_SOME_SECRET: 'MY SECRET', + NX_SOME_TOKEN: 'MY SECRET', }, }); @@ -131,8 +131,8 @@ describe('Storybook generators and executors for monorepos', () => { for (const file of files) { if (!file.endsWith('.js')) continue; const content = readFile(`${outDir}/${file}`); - expect(content).not.toMatch(/NX_CLOUD_ENCRYPTION_KEY/); - expect(content).not.toMatch(/NX_CLOUD_ACCESS_TOKEN/); + expect(content).not.toMatch(/NX_SOME_SECRET/); + expect(content).not.toMatch(/NX_SOME_TOKEN/); expect(content).not.toMatch(/MY SECRET/); } }, 300_000);