mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Reset the aggParam spy before the params tests
This commit is contained in:
parent
37e561c5a2
commit
cc407b6ca1
1 changed files with 4 additions and 0 deletions
|
@ -117,6 +117,10 @@ define(function (require) {
|
|||
});
|
||||
|
||||
describe('params', function () {
|
||||
beforeEach(function () {
|
||||
AggParams.reset();
|
||||
});
|
||||
|
||||
it('defaults to AggParams object with JSON param', function () {
|
||||
var aggType = new AggType({
|
||||
name: 'smart agg'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue