feat(hooks): Add new config:resolved
hook
#2751
validate.yml
on: pull_request
checks
1m 33s
builds
1m 3s
build-demo
1m 2s
tests
1m 52s
windows-tests
3m 0s
Matrix: template
Annotations
8 errors
src/__tests__/modules.test.ts > Module Utilities > addViteConfig > should add base vite config:
packages/wxt/src/__tests__/modules.test.ts#L21
AssertionError: expected {} to deeply equal { build: { sourcemap: true } }
- Expected
+ Received
- Object {
- "build": Object {
- "sourcemap": true,
- },
- }
+ Object {}
❯ src/__tests__/modules.test.ts:21:22
|
src/__tests__/modules.test.ts > Module Utilities > addViteConfig > should allow user config to override any changes made:
packages/wxt/src/__tests__/modules.test.ts#L37
AssertionError: expected { build: { sourcemap: true } } to deeply equal { build: { sourcemap: true, test: 2 } }
- Expected
+ Received
Object {
"build": Object {
"sourcemap": true,
- "test": 2,
},
}
❯ src/__tests__/modules.test.ts:37:22
|
src/__tests__/modules.test.ts > Module Utilities > addImportPreset > should add the import to the config:
packages/wxt/src/__tests__/modules.test.ts#L49
AssertionError: the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string
❯ src/__tests__/modules.test.ts:49:64
|
tests
Process completed with exit code 1.
|
src/__tests__/modules.test.ts > Module Utilities > addViteConfig > should add base vite config:
packages/wxt/src/__tests__/modules.test.ts#L21
AssertionError: expected {} to deeply equal { build: { sourcemap: true } }
- Expected
+ Received
- Object {
- "build": Object {
- "sourcemap": true,
- },
- }
+ Object {}
❯ src/__tests__/modules.test.ts:21:22
|
src/__tests__/modules.test.ts > Module Utilities > addViteConfig > should allow user config to override any changes made:
packages/wxt/src/__tests__/modules.test.ts#L37
AssertionError: expected { build: { sourcemap: true } } to deeply equal { build: { sourcemap: true, test: 2 } }
- Expected
+ Received
Object {
"build": Object {
"sourcemap": true,
- "test": 2,
},
}
❯ src/__tests__/modules.test.ts:37:22
|
src/__tests__/modules.test.ts > Module Utilities > addImportPreset > should add the import to the config:
packages/wxt/src/__tests__/modules.test.ts#L49
AssertionError: the given combination of arguments (undefined and string) is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a string
❯ src/__tests__/modules.test.ts:49:64
|
windows-tests
Process completed with exit code 1.
|