Skip to content

Commit

Permalink
chore: add build and test scripts for the qwik-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-stepanenko committed Nov 15, 2024
1 parent 4424bfd commit bc80d84
Show file tree
Hide file tree
Showing 5 changed files with 555 additions and 527 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
"test.pw.headless-chrome-108": "nx e2e-chrome-108 headless",
"test.pw.headless.ci": "nx e2e headless",
"test.headless.ci": "nx component-test-ci headless",
"test.utils": "nx test utils"
"test.utils": "nx test utils",
"test.qwik-ci": "nx run-many --target=test",
"build.qwik-ci": "nx run-many --target=build -p packages/*"
},
"simple-git-hooks": {
"pre-commit": "pnpm format.staged && pnpm lint"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`init generator
GIVEN empty options and tree
WHEN initGenerator is run
THEN it should create a config file with the default values 1`] = `"{"componentsRoot":"src/components/ui"}"`;
5 changes: 1 addition & 4 deletions packages/cli/src/generators/init/init-generator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ describe('init generator', () => {

const expectedContents = tree.read(QWIK_UI_CONFIG_FILENAME, 'utf-8');

expect(expectedContents).toMatchInlineSnapshot(`
"{ "componentsRoot": "src/components/ui" }
"
`);
expect(expectedContents).toMatchSnapshot();
});

test(`
Expand Down
Loading

0 comments on commit bc80d84

Please sign in to comment.