Skip to content

Commit cc4af0e

Browse files
author
Pedro Aceves
committed
fix env file loading issue
1 parent ee6abf1 commit cc4af0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/xrp/test/single-node-stack.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Match, Template } from "aws-cdk-lib/assertions";
22
import * as cdk from "aws-cdk-lib";
33
import * as dotenv from "dotenv";
4+
dotenv.config({ path: './test/.env-test' });
45
import * as config from "../lib/config/XRPConfig";
56
import { XRPCommonStack } from "../lib/common-stack";
67
import { XRPSingleNodeStack } from "../lib/single-node-stack";
78

89

910
describe("XRPSingleNodeStack", () => {
1011
test("synthesizes the way we expect", () => {
11-
dotenv.config({ path: './test/.env-test' });
1212
const app = new cdk.App();
1313
const xrpCommonStack = new XRPCommonStack(app, "xrp-common", {
1414
env: { account: config.baseConfig.accountId, region: config.baseConfig.region },

0 commit comments

Comments
 (0)