Skip to content

Commit 26a3da8

Browse files
author
Lasim
committed
fix(dependencies): remove node-fetch from package.json and package-lock.json
fix(tests): uncomment runTest4 in index.ts and update test results tracking refactor(render-validator): remove unused fetch import
1 parent 188c1ea commit 26a3da8

4 files changed

Lines changed: 3 additions & 52 deletions

File tree

package-lock.json

Lines changed: 0 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"ajv-formats": "^3.0.1",
5353
"eslint": "^9.15.0",
5454
"globals": "^16.0.0",
55-
"node-fetch": "^2.7.0",
5655
"release-it": "^18.1.2",
5756
"ts-node": "^10.9.2",
5857
"typescript": "^5.6.2",

test/e2e/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { join } from 'path';
33
import { runTest1 } from './test1';
44
import { runTest2 } from './test2';
55
import { runTest3 } from './test3';
6-
// import { runTest4 } from './test4';
6+
import { runTest4 } from './test4';
77

88
// Constants for directories
99
const OUTPUT_DIR = join(__dirname, 'output');
@@ -40,8 +40,8 @@ async function runAllTests() {
4040
testResults.push({ testName: 'Test 3: Environment Variable Substitution', passed: test3Passed });
4141

4242
// Run Test 4: Render Translation Only (Schema validation removed)
43-
// const test4Passed = await runTest4();
44-
// testResults.push({ testName: 'Test 4: Render Translation Only', passed: test4Passed });
43+
const test4Passed = await runTest4();
44+
testResults.push({ testName: 'Test 4: Render Translation Only', passed: test4Passed });
4545

4646
// Print summary
4747
console.log('\n=== Test Summary ===');

test/e2e/utils/render-validator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from 'node-fetch';
21
import Ajv2020 from 'ajv/dist/2020';
32
import addFormats from 'ajv-formats';
43

0 commit comments

Comments
 (0)