Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lucia-auth/adapter-test

pilcrowOnPaper80MIT5.0.2TypeScript support: included

Testing module for Lucia database adapters

lucia, lucia, auth, authentication, adapter, test

readme

Tests for Lucia adapters

Testing module for Lucia database adapters.

Lucia documentation

Changelog

Installation

npm i -D @lucia-auth/adapter-test
pnpm add -D @lucia-auth/adapter-test
yarn add -D @lucia-auth/adapter-test

changelog

@lucia-auth/adapter-test

5.0.2

Patch changes

5.0.1

  • Update dependencies

5.0.0

  • Update API to support Lucia v3

4.1.1

Patch changes

  • #1136 by @Sajarin-M : Fix DUPLICATE_KEY_ID to AUTH_DUPLICATE_KEY_ID in test name

4.1.0

Minor changes

4.0.0

Major changes

4.0.0-beta.7

Minor changes

4.0.0-beta.6

Minor changes

4.0.0-beta.5

Minor changes

4.0.0-beta.4

Patch changes

4.0.0-beta.3

Major changes

4.0.0-beta.2

Patch changes

4.0.0-beta.1

Patch changes

4.0.0-beta.0

Major changes

  • #682 by @pilcrowOnPaper : Require lucia@^2.0.0

    • Update tests
  • #682 by @pilcrowOnPaper : Update testAdapter() and testSessionAdapter()

    • Rename type QueryHandler to LuciaQueryHandler

    • Remove testUserAdapter()

    • Test modules no longer end process by default

3.0.1

Patch changes

3.0.0

Major changes

2.0.0

Major changes

  • #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

1.0.0

Major changes

0.6.0

Minor changes

0.5.1

Patch changes

0.5.0

Minor changes

0.4.3

Patch changes

0.4.2

Patch changes

0.4.1

Patch changes

0.4.0

  • [Breaking] Tests for lucia-auth 0.7.x

0.3.1

  • Fix types

  • Fix tests

0.3.0

  • [Breaking] Update testAdapter, testUserAdapter, testUserAdapter

  • [Breaking] Tests for lucia-auth 0.6.x

0.2.0

  • [Breaking] Tests for lucia-auth 0.5.x

0.1.6

  • Update peer dependency

  • Clean up code

0.1.5

  • Update peer dependency

0.1.4

  • Fix testAdapter test suite so it runs all tests

0.1.3

  • Update dependencies

0.1.2

  • Update peer dependency