mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Merge pull request #32191 from sscotth/patch-1
frisby uses jest typings
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
2
types/frisby/index.d.ts
vendored
2
types/frisby/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user