Skip to content

Commit 83db70f

Browse files
author
Colby Rabideau
committed
update jest and other deps
1 parent 7d0d220 commit 83db70f

26 files changed

+450
-332
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parser": "babel-eslint",
3-
"extends": ["hubspot", "prettier"],
3+
"extends": ["prettier"],
44
"env": {
55
"browser": true,
66
"node": true,

package.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@
1515
"babel-preset-flow": "^6.23.0",
1616
"documentation": "^5.2.2",
1717
"eslint": "^3.18.0",
18-
"eslint-config-hubspot": "^6.2.0",
1918
"eslint-config-prettier": "^1.5.0",
2019
"eslint-plugin-react": "^5.1.1",
2120
"flow-bin": "^0.42.0",
22-
"husky": "^0.13.2",
21+
"husky": "^0.14.3",
2322
"immutable": "^3.8.1",
24-
"jest": "^20.0.4",
25-
"lint-staged": "^3.4.0",
23+
"jest": "^21.1.0",
24+
"lint-staged": "^4.2.1",
2625
"prettier": "^1.6.1",
2726
"prettier-eslint": "^4.3.2"
2827
},

src/__tests__/__snapshots__/difference-test.js.snap

+3-10
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22

33
exports[`transmute/difference returns differences for Map with key from subject 1`] = `
44
Immutable.Map {
5-
a2: "a",
5+
"a2": "a",
66
}
77
`;
88

9-
exports[`transmute/difference returns differences for Seq 1`] = `
10-
Array [
11-
"a",
12-
]
13-
`;
9+
exports[`transmute/difference returns differences for Seq 1`] = `Immutable.Seq […]`;
1410

1511
exports[`transmute/difference returns differences for Set 1`] = `
1612
Immutable.Set [
@@ -24,10 +20,7 @@ Immutable.List [
2420
]
2521
`;
2622

27-
exports[`transmute/difference returns empty iterable when no differences 1`] = `
28-
Immutable.List [
29-
]
30-
`;
23+
exports[`transmute/difference returns empty iterable when no differences 1`] = `Immutable.List []`;
3124

3225
exports[`transmute/difference returns full iterable when no toRemove given 1`] = `
3326
Immutable.List [

src/__tests__/__snapshots__/entrySeq-test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`transmute/entrySeq gets the entries from an Object 1`] = `
4-
Array [
4+
Immutable.Seq [
55
Array [
66
"one",
77
1,
@@ -18,7 +18,7 @@ Array [
1818
`;
1919

2020
exports[`transmute/entrySeq gets the values from a Map 1`] = `
21-
Array [
21+
Immutable.Seq [
2222
Array [
2323
"one",
2424
1,

src/__tests__/__snapshots__/filter-test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Immutable.List [
1414

1515
exports[`transmute/filter filters Maps 1`] = `
1616
Immutable.Map {
17-
two: 2,
17+
"two": 2,
1818
}
1919
`;
2020

@@ -26,6 +26,6 @@ Object {
2626

2727
exports[`transmute/filter filters Records into Maps 1`] = `
2828
Immutable.Map {
29-
two: 2,
29+
"two": 2,
3030
}
3131
`;

src/__tests__/__snapshots__/filterNot-test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Immutable.List [
1616

1717
exports[`transmute/filterNot filterNots Maps 1`] = `
1818
Immutable.Map {
19-
one: 1,
20-
three: 3,
19+
"one": 1,
20+
"three": 3,
2121
}
2222
`;
2323

@@ -30,7 +30,7 @@ Object {
3030

3131
exports[`transmute/filterNot filters Records into Maps 1`] = `
3232
Immutable.Map {
33-
one: 1,
34-
three: 3,
33+
"one": 1,
34+
"three": 3,
3535
}
3636
`;

src/__tests__/__snapshots__/flatten-test.js.snap

+1-10
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,4 @@ Immutable.List [
1111
]
1212
`;
1313

14-
exports[`transmute/flatten deeply flattens Seq 1`] = `
15-
Array [
16-
1,
17-
2,
18-
3,
19-
4,
20-
5,
21-
6,
22-
]
23-
`;
14+
exports[`transmute/flatten deeply flattens Seq 1`] = `Immutable.Seq […]`;

src/__tests__/__snapshots__/flattenN-test.js.snap

+1-12
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,4 @@ Immutable.List [
1313
]
1414
`;
1515

16-
exports[`transmute/flattenN flattens Seqs to depth 1`] = `
17-
Array [
18-
1,
19-
Array [
20-
2,
21-
3,
22-
],
23-
4,
24-
5,
25-
6,
26-
]
27-
`;
16+
exports[`transmute/flattenN flattens Seqs to depth 1`] = `Immutable.Seq […]`;

src/__tests__/__snapshots__/fromJS-test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`transmute/fromJS converts json to Immutable 1`] = `
44
Immutable.Map {
5-
nums: Immutable.List [
5+
"nums": Immutable.List [
66
1,
77
2,
88
3,
@@ -13,13 +13,13 @@ Immutable.Map {
1313
exports[`transmute/fromJS works with \`map\` 1`] = `
1414
Immutable.List [
1515
Immutable.Map {
16-
one: 1,
16+
"one": 1,
1717
},
1818
Immutable.Map {
19-
two: 2,
19+
"two": 2,
2020
},
2121
Immutable.Map {
22-
three: 3,
22+
"three": 3,
2323
},
2424
]
2525
`;

src/__tests__/__snapshots__/getIn-test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Object {
1414

1515
exports[`transmute/getIn gets a keyPath from a Map 1`] = `
1616
Immutable.Map {
17-
three: 3,
17+
"three": 3,
1818
}
1919
`;
2020

src/__tests__/__snapshots__/indexBy-test.js.snap

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,43 @@
22

33
exports[`transmute/indexBy indexes a List 1`] = `
44
Immutable.OrderedMap {
5-
123: Immutable.Map {
6-
id: "123",
5+
"123": Immutable.Map {
6+
"id": "123",
77
},
8-
456: Immutable.Map {
9-
id: "456",
8+
"456": Immutable.Map {
9+
"id": "456",
1010
},
1111
}
1212
`;
1313

1414
exports[`transmute/indexBy indexes a Map 1`] = `
1515
Immutable.Map {
16-
123: Immutable.Map {
17-
id: "123",
16+
"123": Immutable.Map {
17+
"id": "123",
1818
},
19-
456: Immutable.Map {
20-
id: "456",
19+
"456": Immutable.Map {
20+
"id": "456",
2121
},
2222
}
2323
`;
2424

2525
exports[`transmute/indexBy indexes an Array 1`] = `
2626
Immutable.OrderedMap {
27-
123: Immutable.Map {
28-
id: "123",
27+
"123": Immutable.Map {
28+
"id": "123",
2929
},
30-
456: Immutable.Map {
31-
id: "456",
30+
"456": Immutable.Map {
31+
"id": "456",
3232
},
3333
}
3434
`;
3535

3636
exports[`transmute/indexBy indexes an Object 1`] = `
3737
Immutable.OrderedMap {
38-
123: Object {
38+
"123": Object {
3939
"id": "123",
4040
},
41-
456: Object {
41+
"456": Object {
4242
"id": "456",
4343
},
4444
}

src/__tests__/__snapshots__/keySeq-test.js.snap

+3-9
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`transmute/keySeq gets the keys from a Map 1`] = `
4-
Array [
4+
Immutable.Seq [
55
"one",
66
"two",
77
"three",
88
]
99
`;
1010

11-
exports[`transmute/keySeq gets the keys from an Array 1`] = `
12-
Array [
13-
0,
14-
1,
15-
2,
16-
]
17-
`;
11+
exports[`transmute/keySeq gets the keys from an Array 1`] = `Immutable.Seq […]`;
1812

1913
exports[`transmute/keySeq gets the keys from an Object 1`] = `
20-
Array [
14+
Immutable.Seq [
2115
"one",
2216
"two",
2317
"three",

src/__tests__/__snapshots__/map-test.js.snap

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Immutable.List [
1010

1111
exports[`transmute/map maps a Map 1`] = `
1212
Immutable.Map {
13-
one: 2,
14-
two: 3,
15-
three: 4,
13+
"one": 2,
14+
"two": 3,
15+
"three": 4,
1616
}
1717
`;
1818

src/__tests__/__snapshots__/mapKeys-test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
exports[`transmute/mapKeys maps Map keys 1`] = `
44
Immutable.Map {
5-
test-1: 1,
6-
test-2: 2,
7-
test-3: 3,
5+
"test-1": 1,
6+
"test-2": 2,
7+
"test-3": 3,
88
}
99
`;
1010

@@ -18,8 +18,8 @@ Object {
1818

1919
exports[`transmute/mapKeys maps OrderedMap keys 1`] = `
2020
Immutable.OrderedMap {
21-
test-1: 1,
22-
test-2: 2,
23-
test-3: 3,
21+
"test-1": 1,
22+
"test-2": 2,
23+
"test-3": 3,
2424
}
2525
`;

src/__tests__/__snapshots__/merge-test.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
exports[`transmute/merge Iterable merges with a Map 1`] = `
44
Immutable.Map {
5-
one: 3,
6-
two: 2,
7-
three: 1,
5+
"one": 3,
6+
"two": 2,
7+
"three": 1,
88
}
99
`;
1010

1111
exports[`transmute/merge Iterable merges with an Object 1`] = `
1212
Immutable.Map {
13-
one: 3,
14-
two: 2,
15-
three: 1,
13+
"one": 3,
14+
"two": 2,
15+
"three": 1,
1616
}
1717
`;
1818

src/__tests__/__snapshots__/omit-test.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`transmute/omit drops keys from Maps 1`] = `
44
Immutable.Map {
5-
two: 2,
5+
"two": 2,
66
}
77
`;
88

@@ -14,6 +14,6 @@ Object {
1414

1515
exports[`transmute/omit drops keys from Records 1`] = `
1616
Immutable.Map {
17-
two: 2,
17+
"two": 2,
1818
}
1919
`;

src/__tests__/__snapshots__/pick-test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
exports[`transmute/pick selects keys from Maps 1`] = `
44
Immutable.Map {
5-
one: 1,
6-
three: 3,
5+
"one": 1,
6+
"three": 3,
77
}
88
`;
99

@@ -16,7 +16,7 @@ Object {
1616

1717
exports[`transmute/pick selects keys from Records 1`] = `
1818
Immutable.Map {
19-
one: 1,
20-
three: 3,
19+
"one": 1,
20+
"three": 3,
2121
}
2222
`;

src/__tests__/__snapshots__/reduce-test.js.snap

+4-10
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,13 @@ Immutable.List [
1010

1111
exports[`transmute/reduce reduces a Map 1`] = `
1212
Immutable.Map {
13-
one: 2,
14-
two: 3,
15-
three: 4,
13+
"one": 2,
14+
"two": 3,
15+
"three": 4,
1616
}
1717
`;
1818

19-
exports[`transmute/reduce reduces a Seq 1`] = `
20-
Array [
21-
2,
22-
3,
23-
4,
24-
]
25-
`;
19+
exports[`transmute/reduce reduces a Seq 1`] = `Immutable.Seq […]`;
2620

2721
exports[`transmute/reduce reduces a Set 1`] = `
2822
Immutable.Set [

src/__tests__/__snapshots__/set-test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
exports[`set sets a key in a Map 1`] = `
44
Immutable.Map {
5-
one: 1,
5+
"one": 1,
66
}
77
`;
88

0 commit comments

Comments
 (0)