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(() => {
|
beforeEach(() => {
|
||||||
mocks.source.mockReset().mockResolvedValue(null);
|
mocks.source.mockReset().mockResolvedValue(null);
|
||||||
mocks.official.mockReset().mockResolvedValue(new Map());
|
mocks.official.mockReset().mockResolvedValue(new Map());
|
||||||
mocks.inspect
|
mocks.inspect.mockReset().mockResolvedValue({
|
||||||
.mockReset()
|
classname: "chair",
|
||||||
.mockResolvedValue({
|
state: "missing",
|
||||||
classname: "chair",
|
revision: 1,
|
||||||
state: "missing",
|
alternatives: [],
|
||||||
revision: 1,
|
});
|
||||||
alternatives: [],
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
it("requires import permission", () =>
|
it("requires import permission", () =>
|
||||||
expect(mocks.guard).toHaveBeenCalledWith({
|
expect(mocks.guard).toHaveBeenCalledWith({
|
||||||
|
|||||||
Reference in new issue
Block a user