add jest-matchers (#17040)

This commit is contained in:
Joscha Feth
2017-06-09 00:19:57 +02:00
committed by Mohamed Hegazy
parent be319089e5
commit 26ae3e5aae
4 changed files with 33 additions and 0 deletions

7
types/jest-matchers/index.d.ts vendored Normal file
View 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;

View File

@@ -0,0 +1,3 @@
import * as expect from 'jest-matchers';
expect('x').toEqual('x');

View 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"
]
}

View File

@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }