- also test the offline variant

This commit is contained in:
Mike Penz
2025-07-13 16:02:22 +02:00
parent 8357bc6ec1
commit 6c979ed7a6
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -109,7 +109,6 @@ test('offline mode should work with commit mode', () => {
const result = cp.execFileSync('node', [ip], options).toString() const result = cp.execFileSync('node', [ip], options).toString()
// should succeed // should succeed
expect(result).toBeDefined() expect(result).toBeDefined()
console.log(result)
const readOutput = fs.readFileSync('test.md') const readOutput = fs.readFileSync('test.md')
fs.unlinkSync('test.md') fs.unlinkSync('test.md')
+1 -1
View File
@@ -18,7 +18,7 @@
"test-gitea": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/gitea/*.test.ts --reporters=default --reporters=jest-junit", "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-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", "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": { "repository": {
"type": "git", "type": "git",