mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-11 12:12:55 +00:00
Resolve "Transition to ESLint"
This commit is contained in:
committed by
Rainer Killinger
parent
ca1d2444e0
commit
418ba67d15
@@ -19,14 +19,14 @@ import {expect} from 'chai';
|
||||
describe('Common', function () {
|
||||
describe('inRangeInclusive', function () {
|
||||
it('should provide true if the given number is in the range', function () {
|
||||
expect(inRangeInclusive(1, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(2, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(1.1, [1,3])).to.be.true;
|
||||
expect(inRangeInclusive(1, [1, 3])).to.be.true;
|
||||
expect(inRangeInclusive(2, [1, 3])).to.be.true;
|
||||
expect(inRangeInclusive(1.1, [1, 3])).to.be.true;
|
||||
expect(inRangeInclusive(3, [1, 3])).to.be.true;
|
||||
});
|
||||
|
||||
it('should provide false if the given number is not in the range', function () {
|
||||
expect(inRangeInclusive(3.1, [1,3])).to.be.false;
|
||||
expect(inRangeInclusive(3.1, [1, 3])).to.be.false;
|
||||
expect(inRangeInclusive(0, [1, 3])).to.be.false;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user