Merge pull request #32191 from sscotth/patch-1

frisby uses jest typings
This commit is contained in:
Benjamin Lichtman
2019-01-29 17:35:09 -08:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -18,4 +18,9 @@ describe('Test Suite 1', () => {
.expect('status', 418)
.done(done);
});
it('should handle jest matchers', () => {
const str = 'bar';
expect(str).toHaveLength(3);
});
});

View File

@@ -5,7 +5,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
/// <reference types='jasmine'/>
/// <reference types='jest'/>
// #region Imports
export import nodeFetch = require('node-fetch'); // Import all definitions from node-fetch.