Update dependency to 2.0.0-beta.5 which has reset and typings fix.
This commit is contained in:
Родитель
37aa052304
Коммит
ef6744781e
|
@ -32,6 +32,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jquery": "^2.2.2",
|
"jquery": "^2.2.2",
|
||||||
"powerbi-client": "2.0.0-beta.4"
|
"powerbi-client": "2.0.0-beta.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,7 @@ describe('jquery', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
afterAll(function () {
|
afterAll(function () {
|
||||||
// TODO: Remove square bracket access when typing information is fixed.
|
window.powerbi.reset($fixture.get(0));
|
||||||
window.powerbi['reset']($fixture.get(0));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('calling .powerbi on a jQuery object calls the internal powerbi.embed using the element from the jquery object', function () {
|
it('calling .powerbi on a jQuery object calls the internal powerbi.embed using the element from the jquery object', function () {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче