Chore: update packages & bugfix new versions (#1487)
* chore(package): yarn upgrade Updates all packages within version range. * Bugfix update stacktrace matching code The stacktrace has changed, most likely due to a babel plugin updating. It now seems based on the name of the `handlingErrors` argument instead of the variable name storing the anonymous function. * Bugfix update react-router patch version By updating the react packages, warnings were logged about unsafe componentWillMount usage. These warnings tripped a unit test. react-router was the cause of these, so this update avoids getting the warnings.
This commit is contained in:
parent
a41eb71949
commit
f35d7e088f
|
@ -32,7 +32,7 @@
|
|||
"react-dom": "^16.4.1",
|
||||
"react-icons": "^3.7.0",
|
||||
"react-markdown": "^4.0.8",
|
||||
"react-router": "3.2.1",
|
||||
"react-router": "^3.2.1",
|
||||
"recharts": "^1.6.2",
|
||||
"remove-markdown": "^0.3.0",
|
||||
"retry": "^0.12.0",
|
||||
|
|
|
@ -37,7 +37,7 @@ describe("cli/command", () => {
|
|||
expect(stdio.out).toHaveBeenCalledTimes(0);
|
||||
expect(stdio.err).toHaveBeenCalledTimes(1);
|
||||
expect(stdio.err.mock.calls[0]).toHaveLength(1);
|
||||
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at cmd/);
|
||||
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at command/);
|
||||
});
|
||||
|
||||
it("handles a thrown string", async () => {
|
||||
|
@ -62,7 +62,7 @@ describe("cli/command", () => {
|
|||
expect(stdio.out).toHaveBeenCalledTimes(0);
|
||||
expect(stdio.err).toHaveBeenCalledTimes(1);
|
||||
expect(stdio.err.mock.calls[0]).toHaveLength(1);
|
||||
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at cmd/);
|
||||
expect(stdio.err.mock.calls[0][0]).toMatch(/^Error: wat\n *at command/);
|
||||
});
|
||||
|
||||
it("handles rejection with a string", async () => {
|
||||
|
|
|
@ -53,7 +53,7 @@ describe("cli/testUtil", () => {
|
|||
stdout: ["???"],
|
||||
stderr: [
|
||||
"what is going on",
|
||||
expect.stringMatching(/^Error: throw\n *at testCommand/),
|
||||
expect.stringMatching(/^Error: throw\n *at command/),
|
||||
],
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue