Skip to content

Commit 36eed6b

Browse files
committed
Removed test, previous test sufficient
1 parent 4b855f2 commit 36eed6b

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

‎test/test.spec.ts‎

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2737,21 +2737,6 @@ describe('SDK-to-HPM', function () {
27372737
// Assert
27382738
expect(spyHpm.post).toHaveBeenCalledWith('/report/refresh', null, { uid: uniqueId }, iframe.contentWindow);
27392739
});
2740-
2741-
it('report.refresh() returns promise that resolves if the request is accepted', function (done) {
2742-
// Arrange
2743-
spyHpm.post.and.returnValue(Promise.resolve({
2744-
body: {}
2745-
}));
2746-
2747-
// Act
2748-
report.refresh()
2749-
.then(() => {
2750-
// Assert
2751-
expect(spyHpm.post).toHaveBeenCalledWith('/report/refresh', null, { uid: uniqueId }, iframe.contentWindow);
2752-
done();
2753-
});
2754-
});
27552740
});
27562741

27572742
describe('settings', function () {

0 commit comments

Comments
 (0)