mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
08ae39ae19
* new console * move npm ci to angular build * rel path for assets * local grpc copy * login policy, rm clear views, features rel path * lock Co-authored-by: Livio Amstutz <livio.a@gmail.com>
16 lines
421 B
TypeScript
16 lines
421 B
TypeScript
import { readFileSync } from "fs";
|
|
|
|
module.exports = (on, config) => {
|
|
|
|
require('cypress-terminal-report/src/installLogsPrinter')(on);
|
|
|
|
config.defaultCommandTimeout = 10_000
|
|
|
|
config.env.parsedServiceAccountKey = config.env.serviceAccountKey
|
|
if (config.env.serviceAccountKeyPath) {
|
|
config.env.parsedServiceAccountKey = JSON.parse(readFileSync(config.env.serviceAccountKeyPath, 'utf-8'))
|
|
}
|
|
|
|
return config
|
|
}
|