Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/echarts": "^5.0.0",
"@types/faker": "^5.1.6",
"@types/google-protobuf": "^3.15.6",
"@types/jest": "^26.0.23",
"@types/jest": "^30.0.0",
"@types/loadable__component": "^5.13.10",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
Expand All @@ -47,7 +47,7 @@
"faker": "^5.3.1",
"fork-ts-checker-webpack-plugin": "^9.1.0",
"html-webpack-plugin": "^5.6.8",
"jest": "^29.5.0",
"jest": "^30.5.2",
"jest-environment-jsdom": "^29.5.0",
"msw": "^0.21.2",
"prettier": "^2.0.5",
Expand Down
10 changes: 5 additions & 5 deletions web/src/hooks/use-interval.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test("should not called callback if passed null to delay", () => {

jest.runAllTimers();

expect(callback).not.toBeCalled();
expect(callback).not.toHaveBeenCalled();
});

it("should call callback with passed delay", () => {
Expand All @@ -30,7 +30,7 @@ it("should call callback with passed delay", () => {

jest.advanceTimersByTime(99);

expect(callback).not.toBeCalled();
expect(callback).not.toHaveBeenCalled();

jest.advanceTimersByTime(100);

Expand All @@ -44,7 +44,7 @@ it("should call callback with passed delay", () => {

jest.advanceTimersByTime(99);

expect(callback).not.toBeCalled();
expect(callback).not.toHaveBeenCalled();

jest.advanceTimersByTime(100);

Expand All @@ -56,13 +56,13 @@ it("should clear interval on unmount", () => {

const { unmount } = renderHook(() => useInterval(callback, 100));

expect(callback).not.toBeCalled();
expect(callback).not.toHaveBeenCalled();

unmount();

jest.runAllTimers();

expect(callback).not.toBeCalled();
expect(callback).not.toHaveBeenCalled();
});

it("should update interval if updated delay value", () => {
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/__snapshots__/parse-log.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`multi lines contained in a single log block 1`] = `
[
Expand Down
Loading
Loading