- also test the offline variant
This commit is contained in:
@@ -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')
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user