Skip to content

Commit

Permalink
fixup! update-bcd: test expand helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
mzgoddard committed Nov 15, 2023
1 parent 4d38696 commit 9f12c2a
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions scripts/update-bcd.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -952,9 +952,18 @@ describe("BCD updater", () => {
})(),
),
[
{browser: "chrome", debug: {stack: [{result: {path: "chrome.api"}, step: 'path'}]}, path: "chrome.api",
shared: {},},
{browser: "edge", debug: {stack: [{result: {path: "edge.api"}, step: 'path'}]}, path: "edge.api", shared: {},},
{
browser: "chrome",
debug: {stack: [{result: {path: "chrome.api"}, step: "path"}]},
path: "chrome.api",
shared: {},
},
{
browser: "edge",
debug: {stack: [{result: {path: "edge.api"}, step: "path"}]},
path: "edge.api",
shared: {},
},
] as UpdateInternal[],
);
});
Expand Down Expand Up @@ -986,10 +995,22 @@ describe("BCD updater", () => {
})(),
),
[
{browser: "chrome", debug: {stack: [{result: {path: "chrome.api"}, step: 'provide_path'}]}, path: "chrome.api",
shared: {},},
{browser: "edge", debug: {stack: [{result: {path: "edge.api"}, step: 'provide_path'}]}, path: "edge.api",
shared: {},},
{
browser: "chrome",
debug: {
stack: [{result: {path: "chrome.api"}, step: "provide_path"}],
},
path: "chrome.api",
shared: {},
},
{
browser: "edge",
debug: {
stack: [{result: {path: "edge.api"}, step: "provide_path"}],
},
path: "edge.api",
shared: {},
},
] as UpdateInternal[],
);
});
Expand Down

0 comments on commit 9f12c2a

Please sign in to comment.