diff --git a/types/frisby/frisby-tests.ts b/types/frisby/frisby-tests.ts index 65a7315790a5d7..d807213608e74c 100644 --- a/types/frisby/frisby-tests.ts +++ b/types/frisby/frisby-tests.ts @@ -6,21 +6,10 @@ frisby.globalSetup({ } }); -describe('Test Suite 1', () => { - it('should be a teapot get', (done) => { - frisby.get(URL + '/users/3.json') - .expect('status', 418) - .done(done); - }); +frisby.get(URL + '/users/3.json') + .expect('status', 418) + .done(() => {}); - it('should be a teapot post', (done) => { - frisby.post(URL + '/users/3.json') - .expect('status', 418) - .done(done); - }); - - it('should handle jest matchers', () => { - const str = 'bar'; - expect(str).toHaveLength(3); - }); -}); +frisby.post(URL + '/users/3.json') + .expect('status', 418) + .done(() => {}); diff --git a/types/frisby/index.d.ts b/types/frisby/index.d.ts index b68b6650de9dbb..16136aa031475d 100644 --- a/types/frisby/index.d.ts +++ b/types/frisby/index.d.ts @@ -5,8 +5,6 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.8 -/// - // #region Imports export import nodeFetch = require('node-fetch'); // Import all definitions from node-fetch. //#endregion