mirror of https://github.com/vuejs/core.git
ci: fix dts tests
This commit is contained in:
parent
fe76c166f6
commit
0fbc19f2d0
|
@ -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",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { defineCustomElement, expectType, expectError } from './index'
|
||||
import { defineCustomElement, expectType, expectError, describe } from './index'
|
||||
|
||||
describe('inject', () => {
|
||||
// with object inject
|
||||
|
|
|
@ -11,7 +11,8 @@ import {
|
|||
toRefs,
|
||||
ToRefs,
|
||||
shallowReactive,
|
||||
readonly
|
||||
readonly,
|
||||
describe
|
||||
} from './index'
|
||||
|
||||
function plainType(arg: number | Ref<number>) {
|
||||
|
|
Loading…
Reference in New Issue