wingbot 3.31.6 → 3.31.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.31.6",
3
+ "version": "3.31.7",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -623,7 +623,7 @@ class ConversationTester {
623
623
  if (!this._options.disableAssertActions) {
624
624
  passedAction.split('\n')
625
625
  .map((a) => (a.trim().match(/^[a-z\-0-9/_]+$/) ? a : tokenize(a)))
626
- .forEach((a) => a && t.passedAction(a));
626
+ .forEach((a) => a && t.passedAction(a, true));
627
627
  }
628
628
 
629
629
  const any = t.any();
package/src/Tester.js CHANGED
@@ -285,6 +285,7 @@ class Tester {
285
285
  if (!ok) {
286
286
  const set = new Set();
287
287
  actual = this.actions
288
+ .filter((a) => !a.isReqAction || matchRequestActions)
288
289
  .map((a) => (a.doNotTrack ? `(system interaction) ${a.action}` : a.action))
289
290
  .filter((a) => !set.has(a) && set.add(a));
290
291
  assert.fail(asserts.ex('Interaction was not passed', path, actual));