feat: stabilize Xingtu market data sync
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { describe, expect, test } from "vitest";
|
||||
|
||||
import manifest from "../src/manifest.json";
|
||||
|
||||
describe("manifest", () => {
|
||||
test("injects the content script on the www Xingtu market page", () => {
|
||||
expect(manifest.content_scripts?.[0]?.matches).toEqual(
|
||||
expect.arrayContaining([
|
||||
expect.stringMatching(/^https:\/\/(\*\.|www\.)?xingtu\.cn\/ad\/creator\/market\*$/)
|
||||
])
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user