mirror of https://github.com/vuejs/core.git
test(compiler-vapor): add scopeId test
This commit is contained in:
parent
598b55f1e8
commit
b023b9b845
|
@ -0,0 +1,9 @@
|
|||
import { compile } from '../src/compile'
|
||||
|
||||
describe('scopeId compiler support', () => {
|
||||
test('should only work in module mode', () => {
|
||||
expect(() => {
|
||||
compile(``, { scopeId: 'test' })
|
||||
}).toThrow(`"scopeId" option is only supported in module mode`)
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue