Skip to content

Commit

Permalink
test: fix __EXTENSION_CONTEXT__ not defined in test
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Aug 4, 2024
1 parent ac622e4 commit 009611f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default defineConfig({
define: {
__APP_VERSION__: `"${Package.version}"`,
__APP_PLATFORM__: '"chrome"',
__EXTENSION_CONTEXT__: '"page"',
},
assetsInclude: [
"**/*.wasm",
Expand Down

0 comments on commit 009611f

Please sign in to comment.