Skip to content

Commit

Permalink
ci: fix dts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 26, 2023
1 parent fe76c16 commit 0fbc19f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test-dts/defineCustomElement.test-d.ts
@@ -1,4 +1,4 @@
import { defineCustomElement, expectType, expectError } from './index'
import { defineCustomElement, expectType, expectError, describe } from './index'

describe('inject', () => {
// with object inject
Expand Down
3 changes: 2 additions & 1 deletion test-dts/ref.test-d.ts
Expand Up @@ -11,7 +11,8 @@ import {
toRefs,
ToRefs,
shallowReactive,
readonly
readonly,
describe
} from './index'

function plainType(arg: number | Ref<number>) {
Expand Down

0 comments on commit 0fbc19f

Please sign in to comment.