Skip to content

Commit 1a6f93a

Browse files
p
1 parent def9474 commit 1a6f93a

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

e2e/qwik-nx-e2e/tests/micro-frontends.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('Micro-frontends e2e', () => {
5757
async () => {
5858
const checkProject = async (name: string) => {
5959
const result = await runNxCommandAsync(`build ${name}`);
60-
expect(result.stdout).toContain(
60+
expect(stripConsoleColors(result.stdout)).toContain(
6161
`Successfully ran target build for project ${name}`
6262
);
6363
expect(() =>
@@ -152,7 +152,7 @@ describe('Micro-frontends e2e', () => {
152152
`generate qwik-nx:remote ${remote3} --host=${project} --port=5176 --no-interactive`
153153
);
154154
const result = await runNxCommandAsync(`build ${remote3}`);
155-
expect(result.stdout).toContain(
155+
expect(stripConsoleColors(result.stdout)).toContain(
156156
`Successfully ran target build for project ${remote3}`
157157
);
158158
expect(() =>

e2e/qwik-nx-e2e/tests/qwik-nx-vite.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ describe('qwikNxVite plugin e2e', () => {
4444
headerLibName = uniq('qwik-nx-header');
4545
iconLibName = uniq('qwik-nx-icon');
4646
await runNxCommandAsync(
47-
`generate qwik-nx:app ${project} --no-interactive`
47+
`generate qwik-nx:app --directory=apps/${project} --no-interactive`
4848
);
4949
await runNxCommandAsync(
50-
`generate qwik-nx:library ${headerLibName} --unitTestRunner=none --no-interactive`
50+
`generate qwik-nx:library --directory=libs/${headerLibName} --unitTestRunner=none --no-interactive`
5151
);
5252
await runNxCommandAsync(
53-
`generate qwik-nx:library ${iconLibName} --unitTestRunner=none --no-interactive`
53+
`generate qwik-nx:library --directory=libs/${iconLibName} --unitTestRunner=none --no-interactive`
5454
);
5555

5656
// move header component into the library

e2e/qwik-nx-e2e/tests/storybook.spec.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('qwikNxVite plugin e2e', () => {
3333
const libProject = uniq('qwik-nx');
3434
const secondLibProject = uniq('qwik-nx');
3535

36-
describe('Applying storybook for existing application', () => {
36+
fdescribe('Applying storybook for existing application', () => {
3737
beforeAll(async () => {
3838
await runNxCommandAsync(
3939
`generate qwik-nx:app --directory=apps/${appProject} --e2eTestRunner=none --no-interactive`
@@ -43,9 +43,13 @@ describe('qwikNxVite plugin e2e', () => {
4343
);
4444
await addAdditionalStories(appProject);
4545
}, DEFAULT_E2E_TIMEOUT);
46+
// it('Test', () => {
47+
// expect('meow').toBeTruthy();
48+
// });
49+
4650
checkStorybookIsBuiltAndServed(appProject);
4751
});
48-
describe('Applying storybook for existing library', () => {
52+
xdescribe('Applying storybook for existing library', () => {
4953
beforeAll(async () => {
5054
await runNxCommandAsync(
5155
`generate qwik-nx:library --directory=libs/${libProject} --no-interactive`
@@ -58,7 +62,7 @@ describe('qwikNxVite plugin e2e', () => {
5862
checkStorybookIsBuiltAndServed(libProject);
5963
});
6064

61-
describe('Generating a new library with storybook configuration', () => {
65+
xdescribe('Generating a new library with storybook configuration', () => {
6266
beforeAll(async () => {
6367
await runNxCommandAsync(
6468
`generate qwik-nx:library --directory=libs/${secondLibProject} --storybookConfiguration=true --no-interactive`

0 commit comments

Comments
 (0)