We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598b55f commit b023b9bCopy full SHA for b023b9b
packages/compiler-vapor/__tests__/scopeId.spec.ts
@@ -0,0 +1,9 @@
1
+import { compile } from '../src/compile'
2
+
3
+describe('scopeId compiler support', () => {
4
+ test('should only work in module mode', () => {
5
+ expect(() => {
6
+ compile(``, { scopeId: 'test' })
7
+ }).toThrow(`"scopeId" option is only supported in module mode`)
8
+ })
9
+})
0 commit comments