Use standard and prettier (#10)
* switch from custom eslint config to standard + prettier * fix new standard eslint violations * add editorconfig file * auto-fix all other violations * update lint yarn script * remove jshint comment
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
describe('Yaml Test Reader', function () {
|
||||
describe('Yaml Test Reader', function() {
|
||||
var YamlDoc = require('../../integration/yaml_suite/yaml_doc');
|
||||
var compare = YamlDoc.compareRangeToVersion;
|
||||
var expect = require('expect.js');
|
||||
|
||||
describe('version range comparison', function () {
|
||||
it('supports unbounded ranges', function () {
|
||||
describe('version range comparison', function() {
|
||||
it('supports unbounded ranges', function() {
|
||||
expect(compare(' - ', '999999999999999999')).to.be(true);
|
||||
expect(compare('0 - ', '999999999999999999')).to.be(true);
|
||||
expect(compare(' - 1', '999999999999999999')).to.be(false);
|
||||
});
|
||||
|
||||
it('supports bound ranges', function () {
|
||||
it('supports bound ranges', function() {
|
||||
expect(compare('1.4 - 1.5', '1.4.4')).to.be(true);
|
||||
expect(compare('1.4.4 - 1.5', '1.4.4')).to.be(true);
|
||||
expect(compare('1.4 - 1.4.4', '1.4.4')).to.be(true);
|
||||
|
||||
Reference in New Issue
Block a user