File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import { LoaderFunctionArgs , Session as RemixSession , redirect } from 'react-router' ;
1
+ import { LoaderFunctionArgs , Session as ReactRouterSession , redirect } from 'react-router' ;
2
2
import { AuthenticationResponse } from '@workos-inc/node' ;
3
3
import * as ironSession from 'iron-session' ;
4
4
import * as jose from 'jose' ;
@@ -72,7 +72,7 @@ jest.mock('iron-session', () => ({
72
72
73
73
describe ( 'session' , ( ) => {
74
74
// eslint-disable-next-line @typescript-eslint/no-explicit-any
75
- const createMockSession = ( overrides ?: Record < string , any > ) : RemixSession =>
75
+ const createMockSession = ( overrides ?: Record < string , any > ) : ReactRouterSession =>
76
76
( {
77
77
has : jest . fn ( ) ,
78
78
get : jest . fn ( ) ,
@@ -82,7 +82,7 @@ describe('session', () => {
82
82
id : 'test-session-id' ,
83
83
data : { } ,
84
84
...overrides ,
85
- } ) satisfies RemixSession ;
85
+ } ) satisfies ReactRouterSession ;
86
86
87
87
const createMockRequest = ( cookie = 'test-cookie' , url = 'http://example.com./some-path' ) =>
88
88
new Request ( url , {
You can’t perform that action at this time.
0 commit comments