test(core): reduce mock reset overhead across unit and e2e specs
This commit is contained in:
@@ -46,7 +46,7 @@ function stubJsonFetchOk() {
|
||||
describe("fetchBrowserJson loopback auth", () => {
|
||||
beforeEach(() => {
|
||||
vi.restoreAllMocks();
|
||||
mocks.loadConfig.mockReset();
|
||||
mocks.loadConfig.mockClear();
|
||||
mocks.loadConfig.mockReturnValue({
|
||||
gateway: {
|
||||
auth: {
|
||||
|
||||
Reference in New Issue
Block a user