Skip to content

feat(hooks): Add new config:resolved hook #2751

feat(hooks): Add new config:resolved hook

feat(hooks): Add new config:resolved hook #2751

Triggered via pull request November 15, 2024 14:22
Status Failure
Total duration 3m 17s
Artifacts

validate.yml

on: pull_request
Matrix: template
Fit to window
Zoom out
Zoom in

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.