feat: use module runner to import the config #230
ci.yml
on: push
Get changed files
4s
Lint: node-20, ubuntu-latest
2m 26s
Matrix: test
Build & Test Passed or Skipped
0s
Build & Test Failed
0s
Annotations
10 errors
packages/vite/src/node/server/__tests__/watcher.spec.ts > watcher configuration > should watch the root directory, config file dependencies, dotenv files, and the public directory:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L46
AssertionError: expected [ …(4) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
- "/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/config-deps",
+ Array [
"/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-env",
+ "/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher",
+ "/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
"/Users/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-public",
]
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:46:27
|
Build&Test: node-20, macos-latest
Process completed with exit code 1.
|
packages/vite/src/node/server/__tests__/watcher.spec.ts > watcher configuration > should watch the root directory, config file dependencies, dotenv files, and the public directory:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L46
AssertionError: expected [ …(4) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/config-deps",
+ Array [
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-env",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-public",
]
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:46:27
|
Build&Test: node-20, ubuntu-latest
Process completed with exit code 1.
|
packages/vite/src/node/server/__tests__/watcher.spec.ts > watcher configuration > should watch the root directory, config file dependencies, dotenv files, and the public directory:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L46
AssertionError: expected [ …(4) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/config-deps",
+ Array [
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-env",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-public",
]
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:46:27
|
Build&Test: node-22, ubuntu-latest
Process completed with exit code 1.
|
packages/vite/src/node/server/__tests__/watcher.spec.ts > watcher configuration > should watch the root directory, config file dependencies, dotenv files, and the public directory:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L46
AssertionError: expected [ …(4) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
- "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/config-deps",
+ Array [
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-env",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher",
+ "/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/nested-root",
"/home/runner/work/vite/vite/packages/vite/src/node/server/__tests__/fixtures/watcher/custom-public",
]
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:46:27
|
Build&Test: node-18, ubuntu-latest
Process completed with exit code 1.
|
packages/vite/src/node/server/__tests__/watcher.spec.ts > watcher configuration > should watch the root directory, config file dependencies, dotenv files, and the public directory:
packages/vite/src/node/server/__tests__/watcher.spec.ts#L46
AssertionError: expected [ …(4) ] to deeply equal ArrayContaining{…}
- Expected
+ Received
- ArrayContaining [
- "D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher\\nested-root",
- "D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher\\config-deps",
+ Array [
"D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher\\custom-env",
+ "D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher",
+ "D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher\\nested-root",
"D:\\a\\vite\\vite\\packages\\vite\\src\\node\\server\\__tests__\\fixtures\\watcher\\custom-public",
]
❯ packages/vite/src/node/server/__tests__/watcher.spec.ts:46:27
|
Build&Test: node-20, windows-latest
Process completed with exit code 1.
|