Skip to content

Commit

Permalink
Reenable space queries.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Sep 3, 2023
1 parent 285d361 commit 07caf2c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,16 @@ describe(__filename, () => {
await db.set(key, input);
});
it('get(key) -> record', async (context) => {
if(database === 'surrealdb' && space){
context.skip()
}
const output = await db.get(key);
expect(JSON.stringify(output)).toBe(JSON.stringify(input));
});
it('get(`${key} `) -> nullish', async (context) => {
if(database === 'surrealdb' && space){
context.skip()
}
const output = await db.get(`${key} `);
console.log("output ",output)
expect(output == null).toBeTruthy();
});
if (space) {
it('get(key.slice(0, -1)) -> nullish', async (context) => {
if(database === 'surrealdb' && space){
context.skip()
}
const output = await db.get(key.slice(0, -1));
expect(output == null).toBeTruthy();
});
Expand Down

0 comments on commit 07caf2c

Please sign in to comment.