ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
16
services/mail-keys/tests/fixture.ts
Normal file
16
services/mail-keys/tests/fixture.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { readFile } from 'node:fs/promises';
|
||||
import { resolve } from 'node:path';
|
||||
|
||||
export interface Fixture {
|
||||
runtime: string;
|
||||
pod: string;
|
||||
ports: { http: number; https: number; management: number; imap: number; smtp: number };
|
||||
issuer: string;
|
||||
origins: string[];
|
||||
hostNs: string;
|
||||
podNs: string;
|
||||
frontend: string;
|
||||
}
|
||||
|
||||
export const fixture = JSON.parse(await readFile(resolve(process.env.MAIL_RUN!, 'fixture.json'), 'utf8')) as Fixture;
|
||||
export const evidence = (name: string): string => resolve(fixture.runtime, name);
|
||||
Loading…
Reference in a new issue