From 7bfb63f6f5c8a070fd0087d16d2a9bf61e0ba507 Mon Sep 17 00:00:00 2001 From: Marsel Shaikhin Date: Mon, 18 Dec 2023 23:12:54 +0100 Subject: [PATCH] @fervid/napi@0.1.4 --- crates/fervid_napi/__tests__/compileHelloWorld.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fervid_napi/__tests__/compileHelloWorld.spec.ts b/crates/fervid_napi/__tests__/compileHelloWorld.spec.ts index bf8e959..bb9ad6f 100644 --- a/crates/fervid_napi/__tests__/compileHelloWorld.spec.ts +++ b/crates/fervid_napi/__tests__/compileHelloWorld.spec.ts @@ -17,7 +17,7 @@ const compilerName = ref('fervid') ` test('should work', () => { - expect(compileSync(HELLO_WORLD)).toMatchInlineSnapshot(` + expect(compileSync(HELLO_WORLD).code).toMatchInlineSnapshot(` "import { ref } from 'vue'; import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from "vue"; export default { @@ -36,7 +36,7 @@ test('should work', () => { " `) - expect(compileSync(HELLO_WORLD, { isProd: true })).toMatchInlineSnapshot(` + expect(compileSync(HELLO_WORLD, { isProd: true }).code).toMatchInlineSnapshot(` "import { ref } from 'vue'; import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from "vue"; export default {