Skip to content

Commit

Permalink
fix: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zetxx committed Sep 28, 2021
1 parent b72d5d2 commit 3d0245d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/bridge/test.bridge.multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ tap.test('Bridge simulations', (l0) => {
// instance eg. bridgeA or bridgeB
// R^ - response
// match, add - request operations
l0.test('R->A.a.in->add->B.a.out->add->B.a.in->match->A.a.out->R^', async(l1) => {
l0.test('R->A.a.in->B.a.out->wait |B.a.in->match->A.a.out->R^', async(l1) => {

// R->A.a.in->B.a.out->wait
await bridgeA.pass({
packet: {
payload: 3,
Expand All @@ -43,6 +44,7 @@ tap.test('Bridge simulations', (l0) => {
});

setTimeout(async() => {
// B.a.in->match->A.a.out->R^
await bridgeB.pass({
packet: {
payload: 3,
Expand Down

0 comments on commit 3d0245d

Please sign in to comment.