From 6bb591f0f3ec1616486b7a60bcc08974ba68fd53 Mon Sep 17 00:00:00 2001 From: Rui Wu Date: Tue, 18 Jun 2024 22:07:05 +0800 Subject: [PATCH] test: update snapshots --- test/index.test.ts | 68 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 52 insertions(+), 16 deletions(-) diff --git a/test/index.test.ts b/test/index.test.ts index 1dcd4a1..c0c4a0a 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -7,11 +7,13 @@ describe('uni-env', () => { [ "builtInPlatforms", "platform", - "utsPlatform", "appPlatform", "subPlatform", + "utsPlatform", "isH5", + "isWeb", "isApp", + "isAppPlus", "isAppAndroid", "isAppIOS", "isMp", @@ -24,27 +26,61 @@ describe('uni-env', () => { "isQuickapp", "isQuickappUnion", "isQuickappHuawei", - "hasDarkMode", - "hasSourcemap", + "utsJsCodeFormat", + "utsModuleType", + "utsModulePrefix", + "utsTargetLanguage", + "inputDir", + "outputDir", + "cliContext", + "subpackage", + "mpPlugin", "isMpPlugin", - "isMinimize", - "isSSRClient", - "isSSRServer", - "compiler", - "nvueCompiler", - "nvueStyleCompiler", "compilerVersion", "compilerVersionType", - "cliContext", - "inputDir", - "outputDir", - "statTitleJson", - "customContext", + "hbuilderxPlugins", + "renderer", + "nvueCompiler", + "nvueStyleCompiler", + "appCodeSpliting", + "automatorWsEndpoint", + "automatorAppWebview", + "automatorAppWebviewSrc", + "h5Base", + "h5Browser", "customScript", "customDefine", - "subpackage", - "renderer", + "customContext", + "minimize", + "isMinimize", + "uvue", + "isUVue", + "uvueTargetLanguage", + "compiler", "rendererNative", + "nvueAppStyles", + "appChangedFiles", + "appChangedPages", + "darkMode", + "hasDarkMode", + "hxUseBaseType", + "hxDependenciesDir", + "appX", + "isAppX", + "appXCacheDir", + "hxVersion", + "appXPageCount", + "appXTsc", + "appXSingleThread", + "appXSetup", + "appXUVueScriptEngine", + "statTitleJson", + "sourcemap", + "hasSourcemap", + "ssrClient", + "isSSRClient", + "ssrServer", + "isSSRServer", ] `) })