Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
test(server): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
PixnBits committed Apr 11, 2024
1 parent 549b4f4 commit 12920db
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions __tests__/server/utils/watchLocalModules.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,8 @@ describe('watchLocalModules', () => {
expect(console.info).toHaveBeenCalledTimes(2);
expect(console.info.mock.calls[0]).toMatchInlineSnapshot(`
Array [
"the Node.js bundle for some-module finished saving, attempting to load",
"the Node.js bundle for %s finished saving, attempting to load",
"some-module",
]
`);
});
Expand Down Expand Up @@ -516,7 +517,8 @@ describe('watchLocalModules', () => {
expect(console.info).toHaveBeenCalledTimes(2);
expect(console.info.mock.calls[1]).toMatchInlineSnapshot(`
Array [
"finished reloading some-module",
"finished reloading %s",
"some-module",
]
`);
});
Expand Down Expand Up @@ -902,7 +904,8 @@ describe('watchLocalModules', () => {
expect(console.info).toHaveBeenCalledTimes(2);
expect(console.info.mock.calls[0]).toMatchInlineSnapshot(`
Array [
"the Node.js bundle for some-module finished saving, attempting to load",
"the Node.js bundle for %s finished saving, attempting to load",
"some-module",
]
`);
});
Expand Down Expand Up @@ -991,7 +994,8 @@ describe('watchLocalModules', () => {
expect(console.warn).toHaveBeenCalledTimes(1);
expect(console.warn.mock.calls[0]).toMatchInlineSnapshot(`
Array [
"module \\"other-module\\" not in the module map, make sure to serve-module first",
"module \\"%s\\" not in the module map, make sure to serve-module first",
"other-module",
]
`);

Expand Down

0 comments on commit 12920db

Please sign in to comment.