Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Features Integration Test (Vitest)
if: steps.changes.outputs.changed == 'true'
run: pnpm run test:features
run: pnpm run test:integration

- name: Examples E2E Test (Playwright)
if: steps.changes.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:

- name: Features Integration Test (Vitest)
if: steps.changes.outputs.changed == 'true'
run: pnpm run test:features
run: pnpm run test:integration

- name: Examples E2E Test (Playwright)
if: steps.changes.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"linter": {
"enabled": true,
"ignore": ["./tests/features/**/*/src/*"],
"ignore": ["./tests/integration/**/*/src/*"],
"rules": {
"recommended": true,
"style": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"prebundle": "nx run-many -t prebundle",
"prepare": "pnpm run build && simple-git-hooks",
"sort-package-json": "npx sort-package-json \"packages/*/package.json\"",
"test": "pnpm run test:unit && pnpm run test:features && pnpm run test:e2e",
"test": "pnpm run test:unit && pnpm run test:integration && pnpm run test:e2e",
"test:e2e": "pnpm run build:examples && cd tests && pnpm run test:e2e",
"test:features": "vitest run --project features",
"test:features:watch": "vitest --project features",
"test:integration": "vitest run --project integration",
"test:integration:watch": "vitest --project integration",
"test:unit": "vitest run --project unit*",
"test:unit:watch": "vitest --project unit*",
"test:update": "pnpm run test:unit -u && pnpm run test:features -u",
"testu": "pnpm run test:unit -u && pnpm run test:integration -u",
"update:rsbuild": "npx taze minor --include /rsbuild/ -w -r -l",
"watch": "pnpm build --watch"
},
Expand Down
140 changes: 70 additions & 70 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 0 additions & 34 deletions tests/features/copy/index.test.ts

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ describe('should respect output.filename.js to override builtin logic', () => {
const { entryFiles } = await buildAndGetResults(fixturePath);
expect(extname(entryFiles.esm!)).toEqual('.mjs');
expect(entryFiles.cjs).toMatchInlineSnapshot(
`"<ROOT>/tests/features/auto-extension/type-commonjs/config-override/dist/cjs/index.d08e1bb3.js"`,
`"<ROOT>/tests/integration/auto-extension/type-commonjs/config-override/dist/cjs/index.d08e1bb3.js"`,
);
});

test('type is module', async () => {
const fixturePath = join(__dirname, 'type-module', 'config-override');
const { entryFiles } = await buildAndGetResults(fixturePath);
expect(entryFiles.esm).toMatchInlineSnapshot(
`"<ROOT>/tests/features/auto-extension/type-module/config-override/dist/esm/index.d2068839.js"`,
`"<ROOT>/tests/integration/auto-extension/type-module/config-override/dist/esm/index.d2068839.js"`,
);
expect(extname(entryFiles.cjs!)).toEqual('.cjs');
});
Expand Down
Loading
Loading