Skip to content

Commit

Permalink
chore: add github-actions reporter for type tests (jestjs#12665)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas authored Apr 12, 2022
1 parent ff77517 commit 5441f83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions jest.config.tsd.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default {
name: 'types',
},
modulePathIgnorePatterns: jestConfigBase.modulePathIgnorePatterns,
reporters: ['default', 'github-actions'],
roots: ['<rootDir>/packages'],
runner: 'jest-runner-tsd',
testMatch: ['**/__typetests__/**/*.ts'],
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-types/__typetests__/config.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 {expectAssignable, expectError, expectNotAssignable} from 'tsd-lite';
import {expectAssignable, expectError} from 'tsd-lite';
import type {Config} from '@jest/types';

expectAssignable<Config.InitialOptions>({});
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-types/__typetests__/jest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import {expectError, expectType} from 'tsd-lite';
import {jest} from '@jest/globals';
import type {Mock, ModuleMocker, SpyInstance, fn, spyOn} from 'jest-mock';
import type {Mock, ModuleMocker, SpyInstance} from 'jest-mock';

expectType<typeof jest>(
jest
Expand Down

0 comments on commit 5441f83

Please sign in to comment.