fix(ci): normalize source asset test formatting
This commit is contained in:
1 parent
159b1f7d1b
commit
f0dcbee162
1 file changed
+6
-8
@@ -41,14 +41,12 @@ const request = (body: unknown) =>
|
||||
beforeEach(() => {
|
||||
mocks.source.mockReset().mockResolvedValue(null);
|
||||
mocks.official.mockReset().mockResolvedValue(new Map());
|
||||
mocks.inspect
|
||||
.mockReset()
|
||||
.mockResolvedValue({
|
||||
classname: "chair",
|
||||
state: "missing",
|
||||
revision: 1,
|
||||
alternatives: [],
|
||||
});
|
||||
mocks.inspect.mockReset().mockResolvedValue({
|
||||
classname: "chair",
|
||||
state: "missing",
|
||||
revision: 1,
|
||||
alternatives: [],
|
||||
});
|
||||
});
|
||||
it("requires import permission", () =>
|
||||
expect(mocks.guard).toHaveBeenCalledWith({
|
||||
|
||||
Reference in new issue
Block a user