Skip to content

Commit c3c3f05

Browse files
committed
enable unit test for DeluxeSignal class
1 parent 0181e3c commit c3c3f05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/org/osflash/signals/DeluxeSignalWithBubblingEventTest.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,13 @@ describe("DeluxeSignalWithBubblingEventTest", () => {
6868
theGrandChild.completed.dispatch(bubblingEvent);
6969
});
7070

71-
// TODO: Check why the error is not thrown
72-
it.skip("returning_true_from_onEventBubbled_should_continue_bubbling()", () => {
71+
it("returning_true_from_onEventBubbled_should_continue_bubbling()", () => {
7372
assert.throws(() => {
7473
let bubbleHater: BubbleHater = new BubbleHater();
7574
theChild = new Child(bubbleHater, "bubblePopper");
7675
// Changing popsBubbles to false will fail the test nicely.
7776
theChild.popsBubbles = false;
78-
theGrandChild = new Child(this.theChild, "bubbleBlower");
77+
theGrandChild = new Child(theChild, "bubbleBlower");
7978
let bubblingEvent: IEvent = new GenericEvent(true);
8079
// Because theChild didn"t pop the bubble, this causes bubbleHater to throw an error.
8180
theGrandChild.completed.dispatch(bubblingEvent);

0 commit comments

Comments
 (0)