Skip to content

Commit 75ec1a9

Browse files
committed
feat(compiler-sfc): updated unit test
1 parent 923afa9 commit 75ec1a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-sfc/__tests__/compileScriptPropsTransform.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('sfc props transform', () => {
106106
</script>
107107
`)
108108
expect(content).toMatch(`props: {
109-
"foo": { type: Number, required: false, default: 1 }
109+
"\\foo\\": { type: Number, required: false, default: 1 }
110110
}`)
111111
assertCode(content)
112112
})

0 commit comments

Comments
 (0)