(store: SessionStoreContract)
| 14 | import { E_SESSION_TAGGING_NOT_SUPPORTED } from '../src/errors.ts' |
| 15 | |
| 16 | function createFakeConfig(store: SessionStoreContract): ResolvedSessionConfig { |
| 17 | return { |
| 18 | enabled: true, |
| 19 | cookieName: 'adonis_session', |
| 20 | age: '2h', |
| 21 | cookie: {}, |
| 22 | store: 'test', |
| 23 | stores: { test: () => store }, |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | test.group('Session Collection', (group) => { |
| 28 | group.each.setup(() => { |
no outgoing calls
no test coverage detected