Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 429b078

Browse files
committed
chore(deps): update dependencies. Adapt tests to new core version
1 parent ee7aa09 commit 429b078

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/e2e/alerts-api.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe("alerts api", () => {
7878

7979
it("should return alert containing error", async () => {
8080
const response = await fetch("/admin/alerts");
81-
expect(response.body.length).toEqual(1);
81+
expect(response.body.length).toEqual(4);
8282
expect(response.body[0].error.message).toEqual(
8383
expect.stringContaining("Cannot find module '../db/users'")
8484
);

test/e2e/plugin-options.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ describe("plugin options", () => {
3838
pathLegacy: null,
3939
watchLegacy: true,
4040
mock: null,
41+
cors: true,
42+
corsPreFlight: true,
4143
});
4244
});
4345
});

test/e2e/settings-api.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ describe("settings api", () => {
4343
adminApiPath: "/admin",
4444
watchLegacy: true,
4545
pathLegacy: null,
46+
cors: true,
47+
corsPreFlight: true,
4648
});
4749
});
4850
});

0 commit comments

Comments
 (0)