Skip to content

Commit

Permalink
FIX randomly failing deno
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Dec 10, 2024
1 parent 5f32567 commit 235494b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/database-lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
} from '../../plugins/core/index.mjs';
import {
HumanDocumentType,
isDeno,
schemaObjects,
schemas
} from '../../plugins/test-utils/index.mjs';
Expand All @@ -35,6 +36,9 @@ describeParallel('database-lifecycle.ts', () => {
type Collections = { humans: RxCollection<HumanDocumentType, {}, {}>; };

it('do some writes updates and deletes and cleanups and reopens', async () => {
if (isDeno) {
return;
}
const dbName = randomToken(10);
let col: Collection = {} as any;
let db: RxDatabase<Collections> = undefined as any;
Expand Down

0 comments on commit 235494b

Please sign in to comment.