Function
assertInvocation
(
inv,
node,
method,
source,
caller,
opt_event,
child,
opt_args
)
Source from the content-addressed store, hash-verified
| 51 | } |
| 52 | |
| 53 | function assertInvocation( |
| 54 | inv, |
| 55 | node, |
| 56 | method, |
| 57 | source, |
| 58 | caller, |
| 59 | opt_event, |
| 60 | child, |
| 61 | opt_args |
| 62 | ) { |
| 63 | expect(inv.node).to.equal(node); |
| 64 | expect(inv.method).to.equal(method); |
| 65 | expect(inv.caller).to.equal(caller); |
| 66 | |
| 67 | if (opt_event !== undefined) { |
| 68 | expect(inv.event).to.equal(opt_event); |
| 69 | } |
| 70 | |
| 71 | if (opt_args !== undefined) { |
| 72 | expect(inv.args).to.deep.equal(opt_args); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | describes.sandboxed('ActionService parseAction', {}, () => { |
| 77 | function parseMultipleActions(s) { |
Tested by
no test coverage detected