Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -78,7 +78,7 @@ describe("removed-module scanner", () => {
|
||||
expect(diagnostics.map((diagnostic) => diagnostic.id)).toEqual(["site-demo", "site-demo", "site-demo", "site-demo", "pageblocks"]);
|
||||
});
|
||||
|
||||
it("ignores dependency, build, generated, cache, TC, optional plugin, test, fixture, story, and mock paths", async () => {
|
||||
it("ignores dependency, build, generated, cache, TC, test, fixture, story, and mock paths", async () => {
|
||||
const root = await createFixtureRoot();
|
||||
await writeFixtureFile(root, "app/entry.ts", "export const entry = true;\n");
|
||||
await writeFixtureFile(root, "app/node_modules/pkg/index.ts", "postmark\n");
|
||||
@@ -97,8 +97,10 @@ describe("removed-module scanner", () => {
|
||||
|
||||
const result = await scanRemovedModules(root, ["app", "packages"]);
|
||||
|
||||
expect(result.files).toEqual(["app/entry.ts"]);
|
||||
expect(result.diagnostics).toEqual([]);
|
||||
expect(result.files).toEqual(["app/entry.ts", "packages/plugins/index.ts"]);
|
||||
expect(result.diagnostics).toEqual([
|
||||
{ id: "rewardful", file: "packages/plugins/index.ts", line: 1, excerpt: "rewardful" },
|
||||
]);
|
||||
});
|
||||
|
||||
it("records absent roots without failing collection", async () => {
|
||||
|
||||
Reference in new issue
Block a user