This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// Starts the J-auth stack once for the run and removes it after (containers, volumes, processes).
|
||||
|
||||
import { startJauthStack } from "./stack"
|
||||
|
||||
export default async function globalSetup(): Promise<() => Promise<void>> {
|
||||
const { stack, stop } = await startJauthStack()
|
||||
process.env.JAUTH_STACK = JSON.stringify(stack)
|
||||
return stop
|
||||
}
|
||||
Reference in New Issue
Block a user