Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
fix: functional tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
generalov-epm committed Apr 7, 2018
1 parent 7e67f0a commit d25f786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('config', function() {

it('should read valid config', function() {
var config = new Config(configPath('validConfig.yml'));
assert.deepPropertyVal(config, 'system.projectRoot', '/it/works');
assert.deepPropertyVal(config, 'system.projectRoot', path.resolve('/it/works'));
});

it('should set correct root', function() {
Expand All @@ -43,7 +43,7 @@ describe('config', function() {
describe('.js', function() {
it('should read valid config', function() {
var config = new Config(configPath('validConfig.js'));
assert.deepPropertyVal(config, 'system.projectRoot', '/it/works');
assert.deepPropertyVal(config, 'system.projectRoot', path.resolve('/it/works'));
});

it('should throw on non-existent file', function() {
Expand All @@ -56,7 +56,7 @@ describe('config', function() {
describe('.json', function() {
it('should read valid config', function() {
var config = new Config(configPath('validConfig.json'));
assert.deepPropertyVal(config, 'system.projectRoot', '/it/works');
assert.deepPropertyVal(config, 'system.projectRoot', path.resolve('/it/works'));
});

it('should throw on non-existent file', function() {
Expand Down

0 comments on commit d25f786

Please sign in to comment.