mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
test: move __WEEX__ flag to runtime for tests
This commit is contained in:
parent
5ec77f32be
commit
69edc9aec6
@ -1,3 +1,5 @@
|
|||||||
|
(global as any).__WEEX__ = false
|
||||||
|
|
||||||
import './helpers/shim-done'
|
import './helpers/shim-done'
|
||||||
import './helpers/to-have-warned'
|
import './helpers/to-have-warned'
|
||||||
import './helpers/wait-for-update'
|
import './helpers/wait-for-update'
|
||||||
|
@ -16,9 +16,6 @@ export default defineConfig({
|
|||||||
vue: resolve('src/platforms/web/entry-runtime-with-compiler')
|
vue: resolve('src/platforms/web/entry-runtime-with-compiler')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
define: {
|
|
||||||
__WEEX__: false
|
|
||||||
},
|
|
||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
|
Loading…
Reference in New Issue
Block a user