Skip to content

Commit

Permalink
fix: typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 25, 2023
1 parent 72ef761 commit e8b7f82
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adonisjs/auth",
"version": "9.0.0-1",
"version": "9.0.0-2",
"description": "Official authentication provider for Adonis framework",
"type": "module",
"main": "build/index.js",
Expand Down
1 change: 1 addition & 0 deletions tests/auth/auth_manager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test.group('Auth manager', () => {

const authManager = new AuthManager({
default: 'web',
loginRoute: '/login',
guards: {
web: () => sessionGuard,
},
Expand Down
4 changes: 4 additions & 0 deletions tests/auth/authenticator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ test.group('Authenticator', () => {

const authenticator = new Authenticator(ctx, {
default: 'web',
loginRoute: '/login',
guards: {
web: () => sessionGuard,
},
Expand All @@ -40,6 +41,7 @@ test.group('Authenticator', () => {

const authenticator = new Authenticator(ctx, {
default: 'web',
loginRoute: '/login',
guards: {
web: () => sessionGuard,
},
Expand All @@ -65,6 +67,7 @@ test.group('Authenticator', () => {

const authenticator = new Authenticator(ctx, {
default: 'web',
loginRoute: '/login',
guards: {
web: () => sessionGuard,
},
Expand Down Expand Up @@ -96,6 +99,7 @@ test.group('Authenticator', () => {

const authenticator = new Authenticator(ctx, {
default: 'web',
loginRoute: '/login',
guards: {
web: () => sessionGuard,
},
Expand Down
2 changes: 2 additions & 0 deletions tests/auth/define_config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ test.group('Define config', () => {

const authConfigProvider = defineConfig({
default: 'web',
loginRoute: '/login',
guards: {
web: sessionGuard({
provider: lucidConfigProvider,
Expand All @@ -95,6 +96,7 @@ test.group('Define config', () => {

const authConfigProvider = defineConfig({
default: 'web',
loginRoute: '/login',
guards: {
web: sessionGuard({
provider: lucidConfigProvider,
Expand Down

0 comments on commit e8b7f82

Please sign in to comment.