From ef6744781e7b61763850afd57a7ddc430804f04e Mon Sep 17 00:00:00 2001 From: Matt Mazzola Date: Wed, 27 Apr 2016 16:40:13 -0700 Subject: [PATCH] Update dependency to 2.0.0-beta.5 which has reset and typings fix. --- package.json | 2 +- test/jquery.powerbi.spec.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d550ac4..abd7dab 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,6 @@ }, "dependencies": { "jquery": "^2.2.2", - "powerbi-client": "2.0.0-beta.4" + "powerbi-client": "2.0.0-beta.5" } } diff --git a/test/jquery.powerbi.spec.ts b/test/jquery.powerbi.spec.ts index 02c958d..12592c1 100644 --- a/test/jquery.powerbi.spec.ts +++ b/test/jquery.powerbi.spec.ts @@ -6,8 +6,7 @@ describe('jquery', 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 () {