]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: fix dts tests 7581/head
authorEvan You <yyx990803@gmail.com>
Thu, 26 Jan 2023 15:04:18 +0000 (23:04 +0800)
committerEvan You <yyx990803@gmail.com>
Thu, 26 Jan 2023 15:04:18 +0000 (23:04 +0800)
package.json
test-dts/defineCustomElement.test-d.ts
test-dts/ref.test-d.ts

index a0a083ecd835122e0d8d00e84b176de93393025b..722fe0c2f24ad548d3a68e896936a8d052df071d 100644 (file)
@@ -15,7 +15,7 @@
     "test-unit": "vitest -c vitest.unit.config.ts",
     "test-e2e": "node scripts/build.mjs vue -f global -d && vitest -c vitest.e2e.config.ts",
     "test-dts": "node scripts/build.mjs shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
-    "test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.mjson",
+    "test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
     "test-coverage": "vitest -c vitest.unit.config.ts --coverage",
     "release": "node scripts/release.mjs",
     "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
index 7433f23c14f25345399293a2dab21c6898efdf5c..14a4b52a3b820b378a2a1dd1c9ba18d5ffc6a2cf 100644 (file)
@@ -1,4 +1,4 @@
-import { defineCustomElement, expectType, expectError } from './index'
+import { defineCustomElement, expectType, expectError, describe } from './index'
 
 describe('inject', () => {
   // with object inject
index bc1deb05863f03c7ea304b59db946eba68856d54..accaaeee8d7ae468c0dd4277bcabac2e00b24a97 100644 (file)
@@ -11,7 +11,8 @@ import {
   toRefs,
   ToRefs,
   shallowReactive,
-  readonly
+  readonly,
+  describe
 } from './index'
 
 function plainType(arg: number | Ref<number>) {