From 547fd3a4724900834f2d9da46f0145e2a509adb7 Mon Sep 17 00:00:00 2001 From: Scott Humphries Date: Tue, 15 Jan 2019 18:35:48 -0600 Subject: [PATCH 1/2] frisby uses jest typings --- types/frisby/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/frisby/index.d.ts b/types/frisby/index.d.ts index 1bcd6fdabb..85151daa68 100644 --- a/types/frisby/index.d.ts +++ b/types/frisby/index.d.ts @@ -5,7 +5,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 -/// +/// // #region Imports export import nodeFetch = require('node-fetch'); // Import all definitions from node-fetch. From b95ec122409ba19829979549c7006cfa86c86c2c Mon Sep 17 00:00:00 2001 From: Scott Humphries Date: Tue, 29 Jan 2019 13:12:14 -0600 Subject: [PATCH 2/2] Add jest test to frisby --- types/frisby/frisby-tests.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/frisby/frisby-tests.ts b/types/frisby/frisby-tests.ts index d0bb27ff20..65a7315790 100644 --- a/types/frisby/frisby-tests.ts +++ b/types/frisby/frisby-tests.ts @@ -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); + }); });