Skip to content

Commit

Permalink
chore: add typechecks for tests of jest-cli, jest-config and `@je…
Browse files Browse the repository at this point in the history
…st/console` packages (#13396)
  • Loading branch information
mrazauskas authored Oct 7, 2022
1 parent f578d82 commit 30da552
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 89 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"test": "yarn lint && yarn jest",
"typecheck": "yarn typecheck:examples && yarn typecheck:tests",
"typecheck:examples": "tsc -p examples/angular --noEmit && tsc -p examples/expect-extend --noEmit && tsc -p examples/typescript --noEmit",
"typecheck:tests": "tsc -b packages/{babel-jest,babel-plugin-jest-hoist,diff-sequences,expect,expect-utils,jest-circus}/src/__tests__",
"typecheck:tests": "tsc -b packages/{babel-jest,babel-plugin-jest-hoist,diff-sequences,expect,expect-utils,jest-circus,jest-cli,jest-config,jest-console}/src/{__tests__,init/__tests__}",
"verify-old-ts": "node ./scripts/verifyOldTs.mjs",
"verify-pnp": "node ./scripts/verifyPnP.mjs",
"watch": "yarn build:js && node ./scripts/watch.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-config/src/__tests__/Defaults.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import {defaults} from '../index';
import {defaults} from '../';

test('get configuration defaults', () => {
expect(defaults).toBeDefined();
Expand Down
Loading

0 comments on commit 30da552

Please sign in to comment.