Skip to content

Commit

Permalink
updates all but the insomnia package to use @jest/globals
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed May 18, 2022
1 parent fa02c76 commit 84c0eab
Show file tree
Hide file tree
Showing 58 changed files with 28,532 additions and 1,390 deletions.
3,538 changes: 3,524 additions & 14 deletions packages/insomnia-cookies/package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions packages/insomnia-cookies/package.json
Expand Up @@ -29,6 +29,9 @@
"build": "tsc --build tsconfig.build.json",
"test": "jest"
},
"devDependencies": {
"@jest/globals": "^28.1.0"
},
"dependencies": {
"tough-cookie": "^2.3.3"
}
Expand Down
1 change: 1 addition & 0 deletions packages/insomnia-cookies/src/cookies.test.ts
@@ -1,3 +1,4 @@
import { describe, expect, it, jest } from '@jest/globals';
import { Cookie, CookieJar, CookieSerialized } from 'tough-cookie';

import { cookiesFromJar, jarFromCookies } from './cookies';
Expand Down
5 changes: 0 additions & 5 deletions packages/insomnia-importers/jest.config.js
@@ -1,9 +1,4 @@
/** @type { import('@jest/types').Config.InitialOptions } */
module.exports = {
preset: '../../jest-preset.js',
globals: {
'ts-jest': {
isolatedModules: true,
},
},
};

0 comments on commit 84c0eab

Please sign in to comment.