fix: pause between tests to avoid db lock
This commit is contained in:
parent
91ea00d284
commit
4cb84c11b0
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@ import { testCases } from "./testCases";
|
|||
|
||||
describe("llms/Mock", () => {
|
||||
describe("Autocomplete Filtering Tests", () => {
|
||||
beforeEach(async () => {
|
||||
await new Promise((resolve) => setTimeout(resolve, 50));
|
||||
});
|
||||
|
||||
it.each(testCases)("$description", async (testCase) => {
|
||||
await testAutocompleteFiltering(testCase);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue