chore(env): rename test environment to staging

This commit is contained in:
dahyeon committed 2026-06-07 01:01:13 -07:00
1 parent d0d578b2b0
commit eadae789c8
17 files changed
+160 -107

No files matched your search

@@ -8,11 +8,18 @@ function makePublisher() {
enqueueAndPublish: jest.fn().mockResolvedValue(undefined),
} as unknown as DakaoOutboxService;
const secretService = {} as SecretService;
const publisher = new DakaoPublisher(secretService, outboxService, {
instanceId: 'test',
});
const previousNodeEnv = process.env.NODE_ENV;
process.env.NODE_ENV = 'staging';
return { publisher, outboxService };
try {
const publisher = new DakaoPublisher(secretService, outboxService, {
instanceId: 'staging-instance',
});
return { publisher, outboxService };
} finally {
process.env.NODE_ENV = previousNodeEnv;
}
}
function getPublishedEnvelope(