mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +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/to-have-warned'
|
||||
import './helpers/wait-for-update'
|
||||
|
@ -16,9 +16,6 @@ export default defineConfig({
|
||||
vue: resolve('src/platforms/web/entry-runtime-with-compiler')
|
||||
}
|
||||
},
|
||||
define: {
|
||||
__WEEX__: false
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
|
Loading…
Reference in New Issue
Block a user