Skip to content

Commit 798d341

Browse files
chore(deps): update jest monorepo to v29 (major) (#89)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent a253cec commit 798d341

File tree

5 files changed

+487
-478
lines changed

5 files changed

+487
-478
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@commitlint/cli": "^17.1.2",
5656
"@commitlint/config-conventional": "^17.1.0",
5757
"@types/byline": "^4.2.33",
58-
"@types/jest": "^28.1.6",
58+
"@types/jest": "^29.0.0",
5959
"@types/util.promisify": "^1.0.4",
6060
"@typescript-eslint/eslint-plugin": "^5.40.0",
6161
"@typescript-eslint/parser": "^5.40.0",
@@ -64,7 +64,7 @@
6464
"eslint-plugin-flowtype": "8.0.3",
6565
"eslint-plugin-import": "2.26.0",
6666
"husky": "^8.0.1",
67-
"jest": "^28",
67+
"jest": "^29.0.0",
6868
"lerna": "6.3.0",
6969
"pinst": "^3.0.0",
7070
"prettier": "^2.7.1",

src/__tests__/__snapshots__/index.spec.ts.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`index tests with a real repository reads a git repo successfully 1`] = `
4-
Array [
5-
Object {
4+
[
5+
{
66
"authorEmail": "mpackard@wayfair.com",
77
"authorName": "mpackard@wayfair.com",
88
"date": "Thu, 1 Feb 2018 16:35:05 -0500",
9-
"filesAdded": Array [
10-
Object {
9+
"filesAdded": [
10+
{
1111
"path": "file.txt",
1212
},
1313
],
14-
"filesDeleted": Array [],
15-
"filesModified": Array [],
16-
"filesRenamed": Array [],
14+
"filesDeleted": [],
15+
"filesModified": [],
16+
"filesRenamed": [],
1717
"hash": "99402395036c4282de837cd1d2004ee7b11988bb",
1818
"message": "added file",
1919
},

src/__tests__/__snapshots__/parse_commit_spec.ts.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`parseCommit returns a parsed git commit 1`] = `
4-
Object {
4+
{
55
"authorEmail": "mpackard@wayfair.com",
66
"authorName": "Morgan Packard",
77
"date": "Mon, 22 Jan 2018 16:57:54 -0500",
8-
"filesAdded": Array [
9-
Object {
8+
"filesAdded": [
9+
{
1010
"path": "packages/distillery/src/index.js",
1111
},
12-
Object {
12+
{
1313
"path": "directory/t t.md",
1414
},
1515
],
16-
"filesDeleted": Array [
17-
Object {
16+
"filesDeleted": [
17+
{
1818
"path": "packages/git-parse/index.js",
1919
},
20-
Object {
20+
{
2121
"path": "directory/t2 t2.md",
2222
},
2323
],
24-
"filesModified": Array [
25-
Object {
24+
"filesModified": [
25+
{
2626
"path": "README.md",
2727
},
28-
Object {
28+
{
2929
"path": "READ ME.md",
3030
},
3131
],
32-
"filesRenamed": Array [
33-
Object {
32+
"filesRenamed": [
33+
{
3434
"newPath": "packages/distillery/src/__tests__/index.spec.js",
3535
"oldPath": "packages/git-parse/__tests__/index.spec.js",
3636
},

src/__tests__/__snapshots__/parse_git_log_spec.ts.snap

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,174 +1,174 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`parseGitLog should return a promise that resolves to git data 1`] = `
4-
Array [
5-
Object {
4+
[
5+
{
66
"authorEmail": "mpackard@wayfair.com",
77
"authorName": "Morgan Packard",
88
"date": "Mon, 22 Jan 2018 16:57:54 -0500",
9-
"filesAdded": Array [
10-
Object {
9+
"filesAdded": [
10+
{
1111
"path": "packages/distillery/package-lock.json",
1212
},
13-
Object {
13+
{
1414
"path": "packages/distillery/package.json",
1515
},
16-
Object {
16+
{
1717
"path": "packages/distillery/src/index.js",
1818
},
19-
Object {
19+
{
2020
"path": "packages/git-parse/src/__tests__/index.spec.js",
2121
},
22-
Object {
22+
{
2323
"path": "packages/git-parse/src/index.js",
2424
},
2525
],
26-
"filesDeleted": Array [
27-
Object {
26+
"filesDeleted": [
27+
{
2828
"path": "packages/git-parse/index.js",
2929
},
30-
Object {
30+
{
3131
"path": "packages/raspberry-popsicle/__tests__/index.spec.js",
3232
},
33-
Object {
33+
{
3434
"path": "packages/raspberry-popsicle/index.js",
3535
},
36-
Object {
36+
{
3737
"path": "packages/raspberry-popsicle/package-lock.json",
3838
},
39-
Object {
39+
{
4040
"path": "packages/raspberry-popsicle/package.json",
4141
},
4242
],
43-
"filesModified": Array [
44-
Object {
43+
"filesModified": [
44+
{
4545
"path": ".babelrc",
4646
},
47-
Object {
47+
{
4848
"path": ".eslintrc",
4949
},
50-
Object {
50+
{
5151
"path": ".gitignore",
5252
},
53-
Object {
53+
{
5454
"path": "README.md",
5555
},
56-
Object {
56+
{
5757
"path": "package-lock.json",
5858
},
59-
Object {
59+
{
6060
"path": "package.json",
6161
},
62-
Object {
62+
{
6363
"path": "packages/git-parse/package-lock.json",
6464
},
65-
Object {
65+
{
6666
"path": "packages/git-parse/package.json",
6767
},
6868
],
69-
"filesRenamed": Array [
70-
Object {
69+
"filesRenamed": [
70+
{
7171
"newPath": "packages/distillery/src/__tests__/index.spec.js",
7272
"oldPath": "packages/git-parse/__tests__/index.spec.js",
7373
},
7474
],
7575
"hash": "e0ee5254a1fc156dd8a3d3f4e8c9322e1fc0793a",
7676
"message": "add flow",
7777
},
78-
Object {
78+
{
7979
"authorEmail": "mpackard@wayfair.com",
8080
"authorName": "mpackard@wayfair.com",
8181
"date": "Wed, 10 Jan 2018 17:22:53 -0500",
82-
"filesAdded": Array [
83-
Object {
82+
"filesAdded": [
83+
{
8484
"path": ".babelrc",
8585
},
86-
Object {
86+
{
8787
"path": ".eslintignore",
8888
},
89-
Object {
89+
{
9090
"path": ".eslintrc",
9191
},
92-
Object {
92+
{
9393
"path": ".flowconfig",
9494
},
95-
Object {
95+
{
9696
"path": ".prettierrc",
9797
},
98-
Object {
98+
{
9999
"path": "package-lock.json",
100100
},
101-
Object {
101+
{
102102
"path": "packages/git-parse/__tests__/index.spec.js",
103103
},
104-
Object {
104+
{
105105
"path": "packages/git-parse/package-lock.json",
106106
},
107107
],
108-
"filesDeleted": Array [],
109-
"filesModified": Array [
110-
Object {
108+
"filesDeleted": [],
109+
"filesModified": [
110+
{
111111
"path": "package.json",
112112
},
113-
Object {
113+
{
114114
"path": "packages/git-parse/package.json",
115115
},
116116
],
117-
"filesRenamed": Array [],
117+
"filesRenamed": [],
118118
"hash": "0e8906c1278f4987b5cda2c06307d2dbe44ecded",
119119
"message": "ESLint is working",
120120
},
121-
Object {
121+
{
122122
"authorEmail": "mpackard@wayfair.com",
123123
"authorName": "mpackard@wayfair.com",
124124
"date": "Wed, 10 Jan 2018 16:44:52 -0500",
125-
"filesAdded": Array [
126-
Object {
125+
"filesAdded": [
126+
{
127127
"path": ".gitignore",
128128
},
129-
Object {
129+
{
130130
"path": "lerna.json",
131131
},
132-
Object {
132+
{
133133
"path": "package.json",
134134
},
135-
Object {
135+
{
136136
"path": "packages/git-parse/index.js",
137137
},
138-
Object {
138+
{
139139
"path": "packages/git-parse/package.json",
140140
},
141-
Object {
141+
{
142142
"path": "packages/raspberry-popsicle/__tests__/index.spec.js",
143143
},
144-
Object {
144+
{
145145
"path": "packages/raspberry-popsicle/index.js",
146146
},
147-
Object {
147+
{
148148
"path": "packages/raspberry-popsicle/package-lock.json",
149149
},
150-
Object {
150+
{
151151
"path": "packages/raspberry-popsicle/package.json",
152152
},
153153
],
154-
"filesDeleted": Array [],
155-
"filesModified": Array [],
156-
"filesRenamed": Array [],
154+
"filesDeleted": [],
155+
"filesModified": [],
156+
"filesRenamed": [],
157157
"hash": "7cedc121ee163d859dfdb9911e627d4b5933cc6d",
158158
"message": "initial setup",
159159
},
160-
Object {
160+
{
161161
"authorEmail": "mpackard@wayfair.com",
162162
"authorName": "mpackard@wayfair.com",
163163
"date": "Wed, 10 Jan 2018 15:25:16 -0500",
164-
"filesAdded": Array [
165-
Object {
164+
"filesAdded": [
165+
{
166166
"path": "README.md",
167167
},
168168
],
169-
"filesDeleted": Array [],
170-
"filesModified": Array [],
171-
"filesRenamed": Array [],
169+
"filesDeleted": [],
170+
"filesModified": [],
171+
"filesRenamed": [],
172172
"hash": "226f032eb87ac1eb18b7212eeaf1356980a9ae03",
173173
"message": "add README",
174174
},

0 commit comments

Comments
 (0)