From 6c979ed7a66987dae8c1fb45957840e967aa2eeb Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sun, 13 Jul 2025 16:02:22 +0200 Subject: [PATCH] - also test the offline variant --- __tests__/main.test.ts | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 23fc138..b603caa 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -109,7 +109,6 @@ test('offline mode should work with commit mode', () => { const result = cp.execFileSync('node', [ip], options).toString() // should succeed expect(result).toBeDefined() - console.log(result) const readOutput = fs.readFileSync('test.md') fs.unlinkSync('test.md') diff --git a/package.json b/package.json index 709897b..2892619 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "test-gitea": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/gitea/*.test.ts --reporters=default --reporters=jest-junit", "test-demo": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/demo/*.test.ts --reporters=default --reporters=jest-junit", "test-offline": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/offline/*.test.ts --reporters=default --reporters=jest-junit", - "all": "npm run build && npm run format && npm run lint && npm run package && npm run test-main" + "all": "npm run build && npm run format && npm run lint && npm run package && npm run test-github && npm run test-offline" }, "repository": { "type": "git",