felixmosh/knex-mock-client
A mock client for knex which allows you to write unit tests with DB interactions
TypeScriptMIT
Issues
- 0
support throwing from response
#56 opened by gsimko - 2
Unintuitive error when setting explicit isolation level with dialect set to postgres
#55 opened by aderant-smcd - 2
Module not found with v3.0.0
#54 opened by eva-ortuno - 3
Issues using vitest instead of jest
#53 opened by gonzaloplaza - 2
- 1
Detect transaction rollbacks
#51 opened by scarabcoder - 3
- 7
- 3
Usage alongside `knex-paginate`
#49 opened by rowbot-weisguy - 7
Support for Knex 3.x
#48 opened by jvesala - 1
- 6
Getting "Tracker not configured for knex mock client" error when running unit test
#45 opened by karenm1895 - 5
- 2
- 11
- 2
Confusing debug of test at bindings approach
#38 opened by andregosling - 6
- 3
this.createQuery is not a function
#37 opened by EnergoStalin - 10
- 8
Add support for testing transaction commands
#34 opened by Fryuni - 7
Doesn't support onConflict
#15 opened by chrisharrison - 28
Returning not captured by tracker
#20 opened by mir1198yusuf - 1
Document that the .response() and .responseOnce() methods can take an (async) callback
#28 opened by aryehb - 6
Type error
#30 opened by johnnyLai-coding-demo - 4
- 9
- 9
Getting MockClient memory leak log
#22 opened by mir1198yusuf - 5
- 8
- 1
- 8
Is this replaceable as mock-knex library ?
#17 opened by mir1198yusuf - 4
Issues with simulateError()
#13 opened by brian-learningpool - 2
- 2
- 7
Error: SAVEPOINT trx2; - No mock handler found
#8 opened by ZeRego - 3
Doesn't support transactions
#5 opened by ZeRego - 4
A better way to handle .first()
#3 opened by icopp - 3
Add an on "create" handler?
#2 opened by SomethingSexy - 16
Invalid variable access: knex
#1 opened by ash-vd