Tests for Lucia adapters
Testing module for Lucia database adapters.
Installation
npm i -D @lucia-auth/adapter-test
pnpm add -D @lucia-auth/adapter-test
yarn add -D @lucia-auth/adapter-test
Testing module for Lucia database adapters
Testing module for Lucia database adapters.
npm i -D @lucia-auth/adapter-test
pnpm add -D @lucia-auth/adapter-test
yarn add -D @lucia-auth/adapter-test
DUPLICATE_KEY_ID
to AUTH_DUPLICATE_KEY_ID
in test name#682 by @pilcrowOnPaper : Require lucia@^2.0.0
#682 by @pilcrowOnPaper : Update testAdapter()
and testSessionAdapter()
Rename type QueryHandler
to LuciaQueryHandler
Remove testUserAdapter()
Test modules no longer end process by default
#529 by @pilcrowOnPaper : [Breaking] Update tests for lucia-auth@^1.3.0
Update peer dependency
Add test to check if user is not stored if setUser()
errors
Add test to check updateUserAttributes()
returns the correct value
Add test to check updateKeyPassword()
returns the correct value
#430 by @pilcrowOnPaper : [Breaking] Require lucia-auth
0.11.0
lucia-auth
0.7.xFix types
Fix tests
[Breaking] Update testAdapter
, testUserAdapter
, testUserAdapter
[Breaking] Tests for lucia-auth
0.6.x
lucia-auth
0.5.xUpdate peer dependency
Clean up code
testAdapter
test suite so it runs all tests