issues
search
felixmosh
/
knex-mock-client
A mock client for knex which allows you to write unit tests with DB interactions
MIT License
53
stars
8
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Unintuitive error when setting explicit isolation level with dialect set to postgres
#55
aderant-smcd
closed
3 weeks ago
2
Module not found with v3.0.0
#54
eva-ortuno
closed
4 months ago
2
Issues using vitest instead of jest
#53
gonzaloplaza
closed
5 months ago
3
Mock handler not found error when using jest async assertion helpers
#52
misskaseyann
closed
9 months ago
2
Detect transaction rollbacks
#51
scarabcoder
closed
10 months ago
1
Consecutive response() calls for the same query
#50
scarabcoder
closed
10 months ago
3
Usage alongside `knex-paginate`
#49
rowbot-weisguy
closed
12 months ago
3
Support for Knex 3.x
#48
jvesala
closed
1 year ago
7
Cannot access 'knex_mock_client_1' before initialization
#47
brandon-burciaga
closed
10 months ago
7
No table name on mock - Mock handler not found
#46
sebastienEdusign
closed
1 year ago
1
Getting "Tracker not configured for knex mock client" error when running unit test
#45
karenm1895
closed
1 year ago
6
Getting "TypeError: db.client.setTracker is not a function"
#44
kevbahia
closed
1 year ago
5
Document breaking changes (`getTracker` is gone in v2.0.0)
#43
grahamb
closed
1 year ago
2
Add support for concurrent tests
#42
felixmosh
closed
1 year ago
0
Make MockClient.tracker non-static
#41
danmichaelo
closed
1 year ago
4
Why should we use "knex-mock-client" over traditional mocking?
#40
advename
closed
1 year ago
6
ReferenceError: Cannot access 'knex_1' before initialization
#39
zagumaar
closed
1 year ago
11
Confusing debug of test at bindings approach
#38
andregosling
closed
1 year ago
2
this.createQuery is not a function
#37
EnergoStalin
closed
1 year ago
3
support Error instances in simulateError
#36
JanTvrdik
closed
1 year ago
3
Keep track of transaction information
#35
Fryuni
closed
1 year ago
5
Add support for testing transaction commands
#34
Fryuni
closed
1 year ago
8
Add a property to the tracker history for all queries
#33
aryehb
closed
1 year ago
10
Add a property to the tracker history to track all queries in order
#32
aryehb
closed
1 year ago
10
Document callback handlers for response and responseOnce
#31
aryehb
closed
2 years ago
1
Type error
#30
johnnyLai-coding-demo
closed
2 years ago
6
Returning automatically added in insert queries
#29
mir1198yusuf
closed
2 years ago
4
Document that the .response() and .responseOnce() methods can take an (async) callback
#28
aryehb
closed
2 years ago
1
Objection.js upsertGraph is not captured properly
#27
mir1198yusuf
closed
2 years ago
9
fix: add beginTransaction and commitTransaction mocks to connection object
#26
felixmosh
closed
2 years ago
0
conn.beginTransaction is not a function when dialect is mssql
#25
cldsnchz
closed
2 years ago
5
feat: add support for jest.useFakeTimers
#24
felixmosh
closed
2 years ago
0
Mock handler not found error - when using jest fake timers
#23
mir1198yusuf
closed
2 years ago
8
Getting MockClient memory leak log
#22
mir1198yusuf
closed
2 years ago
9
fix: Change the inherited class to be a specific dialect client.
#21
felixmosh
closed
2 years ago
0
Returning not captured by tracker
#20
mir1198yusuf
closed
2 years ago
28
Identifier wrapping is incorrect for the MySQL dialect
#19
aryehb
closed
2 years ago
1
Add support for custom wrapping for dialects
#18
aryehb
closed
2 years ago
3
Is this replaceable as mock-knex library ?
#17
mir1198yusuf
closed
2 years ago
8
Add onConflict test
#16
felixmosh
closed
2 years ago
0
Doesn't support onConflict
#15
chrisharrison
closed
2 years ago
7
Update knex dependency to version 2.0.0
#14
nickrum
closed
2 years ago
3
Issues with simulateError()
#13
brian-learningpool
closed
2 years ago
4
Cannot read properties of undefined (reading 'apply')
#12
luizpmonteiro8
closed
2 years ago
2
Update knex peer dependeny
#11
s5no5t
closed
2 years ago
2
feat: add support for dialects
#10
felixmosh
closed
3 years ago
0
feat: add support for nested transactions
#9
felixmosh
closed
3 years ago
0
Error: SAVEPOINT trx2; - No mock handler found
#8
ZeRego
closed
3 years ago
7
Doesn't support distinctOn and other database specific methods
#7
ZeRego
closed
3 years ago
2
fix: Add support to ROLLBACK transaction command
#6
felixmosh
closed
3 years ago
0
Next