Skip to content

Commit

Permalink
Merge pull request #153 from Joe-Dunleavy/remove-malformed-context
Browse files Browse the repository at this point in the history
Remove malformed context from open tests
  • Loading branch information
Joe-Dunleavy authored Dec 2, 2022
2 parents 81a3621 + 1a13716 commit 20515d6
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions src/test/v1.2/advanced/fdc3.open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,20 @@ export default () =>
await control.closeAppWindows(AOpensBMultipleListenTest);
});

const AOpensBMalformedContext = `(AOpensBMalformedContext) App B listeners receive nothing when passing a malformed context`;
it(AOpensBMalformedContext, async () => {
const receiver = control.contextReceiver("context-received", true);
await control.openMockApp(
openApp.f.name,
undefined,
undefined,
true,
true
);
console.log("before receiver")
await receiver;
console.log("after receiver")
await control.closeAppWindows(AOpensBMalformedContext);
});
//Correct behaviour needs to be clarified before we can implement this test
// const AOpensBMalformedContext = `(AOpensBMalformedContext) App B listeners receive nothing when passing a malformed context`;
// it(AOpensBMalformedContext, async () => {
// const receiver = control.contextReceiver("context-received", true);
// await control.openMockApp(
// openApp.f.name,
// undefined,
// undefined,
// true,
// true
// );
// console.log("before receiver")
// await receiver;
// console.log("after receiver")
// await control.closeAppWindows(AOpensBMalformedContext);
// });
});

0 comments on commit 20515d6

Please sign in to comment.