Skip to content

Commit

Permalink
Merge pull request #181 from Dahlgren/feature/github-actions-windows
Browse files Browse the repository at this point in the history
Run test on Windows using GitHub Actions
  • Loading branch information
Dahlgren authored Mar 2, 2021
2 parents 2a1fbcc + d88fd46 commit b7d0aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- 4.x
os:
- ubuntu-20.04
- windows-2019

steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion test/lib/logs.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
var path = require('path')
require('should')
var tk = require('timekeeper')

Expand All @@ -24,7 +25,7 @@ describe('Logs', function () {

describe('generateLogFilePath()', function () {
it('should generate valid file path', function () {
logs.generateLogFilePath().should.eql('/tmp/logs/arma3server_2015-10-21_19-28-32.log')
logs.generateLogFilePath().should.eql(path.join('/tmp', 'logs', 'arma3server_2015-10-21_19-28-32.log'))
})
})
})

0 comments on commit b7d0aaa

Please sign in to comment.