mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Merge pull request #181 from Dahlgren/feature/github-actions-windows
Run test on Windows using GitHub Actions
This commit is contained in:
commit
b7d0aaa6bf
1
.github/workflows/node.yml
vendored
1
.github/workflows/node.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
|||||||
- 4.x
|
- 4.x
|
||||||
os:
|
os:
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
|
- windows-2019
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
var path = require('path')
|
||||||
require('should')
|
require('should')
|
||||||
var tk = require('timekeeper')
|
var tk = require('timekeeper')
|
||||||
|
|
||||||
@ -24,7 +25,7 @@ describe('Logs', function () {
|
|||||||
|
|
||||||
describe('generateLogFilePath()', function () {
|
describe('generateLogFilePath()', function () {
|
||||||
it('should generate valid file path', 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'))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user