summaryrefslogtreecommitdiff
path: root/integration-tests/replace.test.ts
diff options
context:
space:
mode:
authorRichie Foreman <[email protected]>2025-08-17 12:43:21 -0400
committerGitHub <[email protected]>2025-08-17 16:43:21 +0000
commit2998f27f703282359f6389d1c2d8758fc6a14955 (patch)
treea7e3ff7f969c44e61ab27240cdd615e291b6deae /integration-tests/replace.test.ts
parentec1fa954d18ec9abab3ce669536dd24559a499f1 (diff)
chore(compiler): Enable strict property access TS compiler flag. (#6255)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'integration-tests/replace.test.ts')
-rw-r--r--integration-tests/replace.test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/integration-tests/replace.test.ts b/integration-tests/replace.test.ts
index 3a2d979b..a04025e7 100644
--- a/integration-tests/replace.test.ts
+++ b/integration-tests/replace.test.ts
@@ -56,7 +56,8 @@ describe('replace', () => {
expect(newFileContent).toBe(expectedContent);
// Log success info if verbose
- if (process.env.VERBOSE === 'true') {
+ vi.stubEnv('VERBOSE', 'true');
+ if (process.env['VERBOSE'] === 'true') {
console.log('File replaced successfully. New content:', newFileContent);
}
});