Skip to content

Commit 6c979ed

Browse files
committed
- also test the offline variant
1 parent 8357bc6 commit 6c979ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

__tests__/main.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ test('offline mode should work with commit mode', () => {
109109
const result = cp.execFileSync('node', [ip], options).toString()
110110
// should succeed
111111
expect(result).toBeDefined()
112-
console.log(result)
113112

114113
const readOutput = fs.readFileSync('test.md')
115114
fs.unlinkSync('test.md')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test-gitea": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/gitea/*.test.ts --reporters=default --reporters=jest-junit",
1919
"test-demo": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/demo/*.test.ts --reporters=default --reporters=jest-junit",
2020
"test-offline": "NODE_OPTIONS=--experimental-vm-modules jest __tests__/offline/*.test.ts --reporters=default --reporters=jest-junit",
21-
"all": "npm run build && npm run format && npm run lint && npm run package && npm run test-main"
21+
"all": "npm run build && npm run format && npm run lint && npm run package && npm run test-github && npm run test-offline"
2222
},
2323
"repository": {
2424
"type": "git",

0 commit comments

Comments
 (0)