feat: add logto auth and backend metrics integration
This commit is contained in:
+11
-2
@@ -11,10 +11,19 @@ describe("manifest", () => {
|
||||
);
|
||||
});
|
||||
|
||||
test("declares the downloads permission and background worker for csv export", () => {
|
||||
test("declares the downloads and auth permissions plus background worker", () => {
|
||||
expect(manifest.permissions).toEqual(
|
||||
expect.arrayContaining(["downloads"])
|
||||
expect.arrayContaining(["downloads", "identity", "storage"])
|
||||
);
|
||||
expect(manifest.host_permissions).toEqual(
|
||||
expect.arrayContaining([
|
||||
"http://*/*",
|
||||
"https://login-api.intelligrow.cn/*",
|
||||
"http://127.0.0.1:4319/*",
|
||||
"https://*/*"
|
||||
])
|
||||
);
|
||||
expect(manifest.background?.service_worker).toBe("background/index.js");
|
||||
expect(manifest.action?.default_popup).toBe("popup/index.html");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user