Skip to content

Commit

Permalink
Don't assert Json type on sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Sep 11, 2023
1 parent 8c25e2e commit 5b1a9cb
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export function smokeTestLibquery(adapter: ErrorCapturingDriverAdapter, prismaSc
}
})

assert.strictEqual(created.data.createOneProduct.properties.$type, 'Json')
if (flavour !== 'sqlite') {
assert.strictEqual(created.data.createOneProduct.properties.$type, 'Json')
}

console.log('[nodejs] created', JSON.stringify(created, null, 2))

const resultSet = await doQuery(
Expand Down

0 comments on commit 5b1a9cb

Please sign in to comment.