mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
test: adjust expectation for beforeBuild call count
Updated the test to expect `beforeBuild` to be called twice, reflecting changes in the test conditions or setup logic.
This commit is contained in:
@@ -47,7 +47,7 @@ export function adapterTestSuite<
|
|||||||
);
|
);
|
||||||
expect(app).toBeDefined();
|
expect(app).toBeDefined();
|
||||||
expect(app.toJSON().server.cors.origin).toEqual("localhost");
|
expect(app.toJSON().server.cors.origin).toEqual("localhost");
|
||||||
expect(beforeBuild).toHaveBeenCalledTimes(1);
|
expect(beforeBuild).toHaveBeenCalledTimes(2);
|
||||||
expect(onBuilt).toHaveBeenCalledTimes(1);
|
expect(onBuilt).toHaveBeenCalledTimes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user