From 65cd0f728e7d1998558bebd9e8b44ec6bb64807a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 4 Feb 2024 16:24:26 +0000 Subject: [PATCH] test: update snapshots --- test/__snapshots__/index.test.ts.snap | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index e5c4f7f..80f7f5b 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`virtual configuration file > generates correct configuration when custom config is available 1`] = ` -"import { defaultConfig } from \\"@formkit/vue\\" +"import { defaultConfig } from \\"@formkit/vue\\"; import _config from \\"~/playground/formkit.config.ts\\"; const config = typeof _config === 'function' ? _config() : _config; export default defaultConfig(config);" @@ -19,7 +19,7 @@ export default config;" `; exports[`virtual configuration file > generates correct virtual configuration with default options 1`] = ` -"import { defaultConfig } from \\"@formkit/vue\\" +"import { defaultConfig } from \\"@formkit/vue\\"; const config = {}; export default defaultConfig(config);" `; @@ -45,8 +45,10 @@ import { FormKit } from '@formkit/vue' `; exports[`vue file transformations > injects inside root node if there is one 1`] = ` -" +"