Skip to content

Commit

Permalink
Adds emphasize on the config file extensions
Browse files Browse the repository at this point in the history
Uses double quotes around file extensions
  • Loading branch information
sstephant authored Feb 24, 2019
1 parent cdd3538 commit fdf7375
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/node-unit/cli/config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('cli/config', function() {
sandbox.stub(parsers, 'js').returns(config);
});

describe('when supplied a filepath with .yaml extension', function() {
describe('when supplied a filepath with ".yaml" extension', function() {
const filepath = 'foo.yaml';

it('should use the YAML parser', function() {
Expand All @@ -35,7 +35,7 @@ describe('cli/config', function() {
});
});

describe('when supplied a filepath with .yml extension', function() {
describe('when supplied a filepath with ".yml" extension', function() {
const filepath = 'foo.yml';

it('should use the YAML parser', function() {
Expand All @@ -46,7 +46,7 @@ describe('cli/config', function() {
});
});

describe('when supplied a filepath with .js extension', function() {
describe('when supplied a filepath with ".js" extension', function() {
const filepath = 'foo.js';

it('should use the JS parser', function() {
Expand All @@ -57,7 +57,7 @@ describe('cli/config', function() {
});
});

describe('when supplied a filepath with .jsonc extension', function() {
describe('when supplied a filepath with ".jsonc" extension', function() {
const filepath = 'foo.jsonc';

it('should use the JSON parser', function() {
Expand All @@ -68,7 +68,7 @@ describe('cli/config', function() {
});
});

describe('when supplied a filepath with .json extension', function() {
describe('when supplied a filepath with ".json" extension', function() {
const filepath = 'foo.json';

it('should use the JSON parser', function() {
Expand Down

0 comments on commit fdf7375

Please sign in to comment.