Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
prettier
  • Loading branch information
SimenB committed May 3, 2022
commit 895ee91454ff145702559b584dcfee8dca34e979
4 changes: 2 additions & 2 deletions packages/jest-types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This package contains shared types of Jest's packages.
If you are looking for types of [Jest globals](https://jestjs.io/docs/api), you can import them from `@jest/globals` package:

```ts
import { describe, expect, it } from '@jest/globals';
import {describe, expect, it} from '@jest/globals';

describe('my tests', () => {
it('works', () => {
Expand All @@ -20,7 +20,7 @@ Another use-case for `@types/jest` is a typed Jest config as those types are not

```ts
// jest.config.ts
import { Config } from '@jest/types';
import {Config} from '@jest/types';

const config: Config.InitialOptions = {
// some typed config
Expand Down