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:
dswbx
2025-09-19 11:30:38 +02:00
parent 059becbf09
commit 95d114ea68

View File

@@ -47,7 +47,7 @@ export function adapterTestSuite<
);
expect(app).toBeDefined();
expect(app.toJSON().server.cors.origin).toEqual("localhost");
expect(beforeBuild).toHaveBeenCalledTimes(1);
expect(beforeBuild).toHaveBeenCalledTimes(2);
expect(onBuilt).toHaveBeenCalledTimes(1);
});