mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
add jest-matchers (#17040)
This commit is contained in:
committed by
Mohamed Hegazy
parent
be319089e5
commit
26ae3e5aae
7
types/jest-matchers/index.d.ts
vendored
Normal file
7
types/jest-matchers/index.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// Type definitions for jest-matchers 20.0
|
||||
// Project: https://github.com/facebook/jest#readme
|
||||
// Definitions by: Joscha Feth <https://github.com/joscha>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="jest" />
|
||||
export = expect;
|
||||
3
types/jest-matchers/jest-matchers-tests.ts
Normal file
3
types/jest-matchers/jest-matchers-tests.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import * as expect from 'jest-matchers';
|
||||
|
||||
expect('x').toEqual('x');
|
||||
22
types/jest-matchers/tsconfig.json
Normal file
22
types/jest-matchers/tsconfig.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"jest-matchers-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/jest-matchers/tslint.json
Normal file
1
types/jest-matchers/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user