Skip to content

Commit 85700b1

Browse files
committed
Move jest-get-type and diff-sequences into the @jest org.
1 parent ca9c883 commit 85700b1

File tree

33 files changed

+60
-60
lines changed

33 files changed

+60
-60
lines changed

docs/JestPlatform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Module that identifies the primitive type of any JavaScript value. Exports a fun
7777
### Example
7878

7979
```javascript
80-
const {getType} = require('jest-get-type');
80+
const {getType} = require('@jest/get-type');
8181

8282
const array = [1, 2, 3];
8383
const nullValue = null;

packages/diff-sequences/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ To add this package as a dependency of a project, do either of the following:
2828

2929
To use `diff` as the name of the default export from this package, do either of the following:
3030

31-
- `var diff = require('diff-sequences').default; // CommonJS modules`
32-
- `import diff from 'diff-sequences'; // ECMAScript modules`
31+
- `var diff = require('@jest/diff-sequences').default; // CommonJS modules`
32+
- `import diff from '@jest/diff-sequences'; // ECMAScript modules`
3333

3434
Call `diff` with the **lengths** of sequences and your **callback** functions:
3535

packages/diff-sequences/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "diff-sequences",
2+
"name": "@jest/diff-sequences",
33
"version": "30.0.0-beta.1",
44
"repository": {
55
"type": "git",

packages/diff-sequences/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type Division = {
100100
bStartFollowing: number;
101101
};
102102

103-
const pkg = 'diff-sequences'; // for error messages
103+
const pkg = '@jest/diff-sequences'; // for error messages
104104
const NOT_YET_SET = 0; // small int instead of undefined to avoid deopt in V8
105105

106106
// Return the number of common items that follow in forward direction.

packages/expect-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"./package.json": "./package.json"
2020
},
2121
"dependencies": {
22-
"jest-get-type": "workspace:*"
22+
"@jest/get-type": "workspace:*"
2323
},
2424
"devDependencies": {
2525
"immutable": "^5.0.0",

packages/expect-utils/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*/
88

9-
import {isPrimitive} from 'jest-get-type';
9+
import {isPrimitive} from '@jest/get-type';
1010
import {
1111
isImmutableList,
1212
isImmutableOrderedKeyed,

packages/expect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@jest/expect-utils": "workspace:*",
25-
"jest-get-type": "workspace:*",
25+
"@jest/get-type": "workspace:*",
2626
"jest-matcher-utils": "workspace:*",
2727
"jest-message-util": "workspace:*",
2828
"jest-mock": "workspace:*",

packages/expect/src/jestMatchersObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*
77
*/
88

9+
import {getType} from '@jest/get-type';
910
import type {Tester} from '@jest/expect-utils';
10-
import {getType} from 'jest-get-type';
1111
import {AsymmetricMatcher} from './asymmetricMatchers';
1212
import type {
1313
Expect,

packages/expect/src/matchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
*/
88

9+
import {getType, isPrimitive} from '@jest/get-type';
910
import {
1011
arrayBufferEquality,
1112
equals,
@@ -17,7 +18,6 @@ import {
1718
subsetEquality,
1819
typeEquality,
1920
} from '@jest/expect-utils';
20-
import {getType, isPrimitive} from 'jest-get-type';
2121
import {
2222
DIM_COLOR,
2323
EXPECTED_COLOR,

packages/expect/src/spyMatchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* eslint-disable unicorn/consistent-function-scoping */
99

1010
import {equals, iterableEquality} from '@jest/expect-utils';
11-
import {getType, isPrimitive} from 'jest-get-type';
11+
import {getType, isPrimitive} from '@jest/get-type';
1212
import {
1313
DIM_COLOR,
1414
EXPECTED_COLOR,

0 commit comments

Comments
 (0)