mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
correcting tests
This commit is contained in:
parent
aefa3c7037
commit
fcf70bda50
1 changed files with 2 additions and 2 deletions
|
@ -288,11 +288,11 @@ define(function (require) {
|
|||
|
||||
it('should return a function', function () {
|
||||
fnNames.forEach(function (fnName) {
|
||||
expect(typeof yAxis._getScaleType(fnName)).to.be('function');
|
||||
expect(yAxis._getScaleType(fnName)).to.be(Function);
|
||||
});
|
||||
|
||||
// if no value is provided to the function, scale should default to a linear scale
|
||||
expect(typeof yAxis._getScaleType()).to.be(Function);
|
||||
expect(yAxis._getScaleType()).to.be(Function);
|
||||
});
|
||||
|
||||
it('should throw an error if function name is undefined', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue