From 60e637cf1c437d3680e6929f1ef9b4228909bfba Mon Sep 17 00:00:00 2001 From: Matt Schwartz Date: Wed, 6 Dec 2017 18:25:02 -0800 Subject: [PATCH] v3.3.0 --- ...ries_chaiexpectation_.chaiexpectation.html | 46 +++++++++++++++---- docs/classes/_bottester_.bottester.html | 38 +++++++-------- .../_expectedmessage_.expectedmessage.html | 14 +++--- .../_messageservice_.messageservice.html | 14 +++--- ...comparator_.outgoingmessagecomparator.html | 18 ++++---- .../_sessionservice_.sessionservice.html | 20 ++++---- .../_testconnector_.testconnector.html | 14 +++--- ..._expectedmessage_.expectedmessagetype.html | 6 +-- ...nlibraries_iexpectation_.iexpectation.html | 10 ++-- docs/interfaces/_bottester_.ibottester.html | 14 +++--- .../_bottester_.ioptionsmodifier.html | 8 ++-- docs/interfaces/_config_.iconfig.html | 12 ++--- .../_assertionlibraries_iexpectation_.html | 2 +- docs/modules/_bottester_.html | 2 +- docs/modules/_builtinmessagefilters_.html | 6 +-- docs/modules/_config_.html | 6 +-- docs/modules/_expectedmessage_.html | 4 +- docs/modules/_messageservice_.html | 2 +- package.json | 2 +- 19 files changed, 134 insertions(+), 104 deletions(-) diff --git a/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html b/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html index 0693f98..98c4f25 100644 --- a/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html +++ b/docs/classes/_assertionlibraries_chaiexpectation_.chaiexpectation.html @@ -108,6 +108,7 @@

Properties

Methods

@@ -165,13 +166,39 @@

Private subject

subject: __type

Methods

+
+ +

Private checkForMatchingAttachments

+
    +
  • checkForMatchingAttachments(outgoingAttachments: IAttachment[], expectedAttachments: IAttachment[]): boolean
  • +
+ +

notToBeEmpty

@@ -183,7 +210,7 @@

notToBeEmpty

Returns void

@@ -201,7 +228,7 @@

toBeTrue

Returns void

@@ -219,7 +246,7 @@

toDeeplyInclude

@@ -252,7 +279,7 @@

toEqual

Parameters

@@ -276,7 +303,7 @@

toInclude

Parameters

@@ -354,6 +381,9 @@

Returns void subject +
  • + checkForMatchingAttachments +
  • notToBeEmpty
  • diff --git a/docs/classes/_bottester_.bottester.html b/docs/classes/_bottester_.bottester.html index 1059bed..7f529fd 100644 --- a/docs/classes/_bottester_.bottester.html +++ b/docs/classes/_bottester_.bottester.html @@ -142,7 +142,7 @@

    constructor

  • Parameters

    @@ -167,7 +167,7 @@

    Private bot

    bot: UniversalBot
  • @@ -177,7 +177,7 @@

    Private config

    config: IConfig
    @@ -187,7 +187,7 @@

    Private messageService

    messageService: MessageService @@ -197,7 +197,7 @@

    Private sessionLoader

    sessionLoader: SessionService
    @@ -207,7 +207,7 @@

    Private testSteps

    testSteps: TestStep[]
    @@ -225,7 +225,7 @@

    addMessageFilter

    Parameters

    @@ -249,7 +249,7 @@

    checkSession

    Parameters

    @@ -275,7 +275,7 @@

    Private convertToIMessage<
  • Parameters

    @@ -299,7 +299,7 @@

    ignoreEndOfConversationEvent

    Returns BotTester

    @@ -317,7 +317,7 @@

    ignoreTypingEvent

    Returns BotTester

    @@ -335,7 +335,7 @@

    runTest

    @@ -358,7 +358,7 @@

    sendMessageToBot

    Parameters

    @@ -385,7 +385,7 @@

    sendMessageToBotAndExpectSaveWithNoRespon

    Parameters

    @@ -409,7 +409,7 @@

    sendMessageToBotIgnoringResponseOrder

    Parameters

    @@ -435,7 +435,7 @@

    Private sendMessageTo
  • @@ -476,7 +476,7 @@

    setTimeout

    Parameters

    @@ -500,7 +500,7 @@

    then

    Parameters

    @@ -524,7 +524,7 @@

    wait

    Parameters

    diff --git a/docs/classes/_expectedmessage_.expectedmessage.html b/docs/classes/_expectedmessage_.expectedmessage.html index def33d3..94c8359 100644 --- a/docs/classes/_expectedmessage_.expectedmessage.html +++ b/docs/classes/_expectedmessage_.expectedmessage.html @@ -124,7 +124,7 @@

    constructor

  • Parameters

    @@ -146,7 +146,7 @@

    Private expectedResponseexpectedResponseCollection: PossibleExpectedMessageCollections

  • @@ -168,7 +168,7 @@

    checkForMessageMatch

  • @@ -200,7 +200,7 @@

    Private checkMessageT
  • @@ -237,7 +237,7 @@

    Private checkMessageT
  • @@ -269,7 +269,7 @@

    Private deepMessageMa
  • @@ -303,7 +303,7 @@

    toString

  • Returns string

    diff --git a/docs/classes/_messageservice_.messageservice.html b/docs/classes/_messageservice_.messageservice.html index d5b35e8..1ce7784 100644 --- a/docs/classes/_messageservice_.messageservice.html +++ b/docs/classes/_messageservice_.messageservice.html @@ -124,7 +124,7 @@

    constructor

  • Parameters

    @@ -149,7 +149,7 @@

    Private bot

    bot: UniversalBot
    @@ -159,7 +159,7 @@

    Private botToUserMess
    botToUserMessageChecker: botToUserMessageCheckerFunction
    @@ -169,7 +169,7 @@

    Private config

    config: IConfig
    @@ -186,7 +186,7 @@

    Private applyOutgoing
  • @@ -208,7 +208,7 @@

    sendMessageToBot

  • @@ -248,7 +248,7 @@

    Private setBotToUser<
  • diff --git a/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html b/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html index 1695f92..486ff23 100644 --- a/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html +++ b/docs/classes/_outgoingmessagecomparator_.outgoingmessagecomparator.html @@ -125,7 +125,7 @@

    constructor

  • Parameters

    @@ -150,7 +150,7 @@

    Private expectedMessagesexpectedMessages: ExpectedMessage[]

  • @@ -160,7 +160,7 @@

    Private ignoreOrder

    ignoreOrder: boolean
    @@ -177,7 +177,7 @@

    compareOutgoingMessageToExpectedResponses

  • @@ -205,7 +205,7 @@

    Private compareOutgoing

    Parameters

    @@ -228,7 +228,7 @@

    Private compareOutgoing

    Parameters

    @@ -251,7 +251,7 @@

    Private dequeueNextEx
  • @@ -273,7 +273,7 @@

    expectsAdditionalMessages

  • @@ -295,7 +295,7 @@

    getTimeoutErrorMessage

  • Returns string

    diff --git a/docs/classes/_sessionservice_.sessionservice.html b/docs/classes/_sessionservice_.sessionservice.html index fced763..aed1430 100644 --- a/docs/classes/_sessionservice_.sessionservice.html +++ b/docs/classes/_sessionservice_.sessionservice.html @@ -126,7 +126,7 @@

    constructor

  • Parameters

    @@ -148,7 +148,7 @@

    Private bot

    bot: UniversalBot
    @@ -158,7 +158,7 @@

    Private currentSessioncurrentSessionLoadResolver: function

  • @@ -189,7 +189,7 @@

    Private savePerformed

    savePerformed: Promise<any>
    @@ -214,7 +214,7 @@

    Private applySessionL
  • @@ -238,7 +238,7 @@

    Private applySessionS
  • @@ -263,7 +263,7 @@

    Private createSession
  • @@ -296,7 +296,7 @@

    getInternalSaveMessage

  • @@ -329,7 +329,7 @@

    getSession

  • @@ -360,7 +360,7 @@

    Private loadSession

  • diff --git a/docs/classes/_testconnector_.testconnector.html b/docs/classes/_testconnector_.testconnector.html index e251080..c6123c6 100644 --- a/docs/classes/_testconnector_.testconnector.html +++ b/docs/classes/_testconnector_.testconnector.html @@ -122,7 +122,7 @@

    constructor

  • Returns TestConnector

    @@ -138,7 +138,7 @@

    Private newConvoCount
    newConvoCount: number
    @@ -148,7 +148,7 @@

    Private onEventHandle
    onEventHandler: function
    @@ -200,7 +200,7 @@

    Private onInvokeHandl
    onInvokeHandler: function
    @@ -265,7 +265,7 @@

    onEvent

  • Parameters

    @@ -327,7 +327,7 @@

    send

  • Parameters

    @@ -374,7 +374,7 @@

    startConversation

  • Parameters

    diff --git a/docs/enums/_expectedmessage_.expectedmessagetype.html b/docs/enums/_expectedmessage_.expectedmessagetype.html index d1c5519..9c02a30 100644 --- a/docs/enums/_expectedmessage_.expectedmessagetype.html +++ b/docs/enums/_expectedmessage_.expectedmessagetype.html @@ -90,7 +90,7 @@

    IMessage

    IMessage:
    @@ -100,7 +100,7 @@

    Regex

    Regex:
    @@ -110,7 +110,7 @@

    String

    String:
    diff --git a/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html b/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html index 99d2432..5965628 100644 --- a/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html +++ b/docs/interfaces/_assertionlibraries_iexpectation_.iexpectation.html @@ -117,7 +117,7 @@

    notToBeEmpty

  • Returns void

    @@ -134,7 +134,7 @@

    toBeTrue

  • Returns void

    @@ -151,7 +151,7 @@

    toDeeplyInclude

  • Parameters

    @@ -174,7 +174,7 @@

    toEqual

  • Parameters

    @@ -197,7 +197,7 @@

    toInclude

  • Parameters

    diff --git a/docs/interfaces/_bottester_.ibottester.html b/docs/interfaces/_bottester_.ibottester.html index fcbf781..76c0aaa 100644 --- a/docs/interfaces/_bottester_.ibottester.html +++ b/docs/interfaces/_bottester_.ibottester.html @@ -119,7 +119,7 @@

    checkSession

  • @@ -156,7 +156,7 @@

    runTest

  • @@ -178,7 +178,7 @@

    sendMessageToBot

  • @@ -217,7 +217,7 @@

    sendMessageToBotAndExpectSaveWithNoRespon
  • @@ -249,7 +249,7 @@

    sendMessageToBotIgnoringResponseOrder

  • @@ -281,7 +281,7 @@

    then

  • @@ -313,7 +313,7 @@

    wait

  • diff --git a/docs/interfaces/_bottester_.ioptionsmodifier.html b/docs/interfaces/_bottester_.ioptionsmodifier.html index e920cd5..8948010 100644 --- a/docs/interfaces/_bottester_.ioptionsmodifier.html +++ b/docs/interfaces/_bottester_.ioptionsmodifier.html @@ -116,7 +116,7 @@

    addMessageFilter

  • @@ -147,7 +147,7 @@

    ignoreEndOfConversationEvent

  • @@ -169,7 +169,7 @@

    ignoreTypingEvent

  • @@ -191,7 +191,7 @@

    setTimeout

  • diff --git a/docs/interfaces/_config_.iconfig.html b/docs/interfaces/_config_.iconfig.html index b7d7fb0..612c59d 100644 --- a/docs/interfaces/_config_.iconfig.html +++ b/docs/interfaces/_config_.iconfig.html @@ -101,7 +101,7 @@

    Optional defaultAddressdefaultAddress: IAddress

    @@ -116,7 +116,7 @@

    Optional ignoreEndOf
    ignoreEndOfConversationEvent: boolean
    @@ -131,7 +131,7 @@

    Optional ignoreInternalignoreInternalSaveMessage: boolean

    @@ -146,7 +146,7 @@

    Optional ignoreTypingignoreTypingEvent: boolean

    @@ -161,7 +161,7 @@

    Optional messageFiltersmessageFilters: MessageFilter[]

    @@ -176,7 +176,7 @@

    Optional timeout

    timeout: number
    diff --git a/docs/modules/_assertionlibraries_iexpectation_.html b/docs/modules/_assertionlibraries_iexpectation_.html index f91faed..c8e1bc1 100644 --- a/docs/modules/_assertionlibraries_iexpectation_.html +++ b/docs/modules/_assertionlibraries_iexpectation_.html @@ -95,7 +95,7 @@

    expect

  • diff --git a/docs/modules/_bottester_.html b/docs/modules/_bottester_.html index 3618309..63fb812 100644 --- a/docs/modules/_bottester_.html +++ b/docs/modules/_bottester_.html @@ -98,7 +98,7 @@

    checkSessionFunction

    checkSessionFunction: function
    diff --git a/docs/modules/_builtinmessagefilters_.html b/docs/modules/_builtinmessagefilters_.html index c0ba873..db51cd4 100644 --- a/docs/modules/_builtinmessagefilters_.html +++ b/docs/modules/_builtinmessagefilters_.html @@ -91,7 +91,7 @@

    ignoreEndOfConversationEventFilter

  • Parameters

    @@ -114,7 +114,7 @@

    ignoreInternalSaveMessageFilter

  • Parameters

    @@ -137,7 +137,7 @@

    ignoreTypingEventFilter

  • Parameters

    diff --git a/docs/modules/_config_.html b/docs/modules/_config_.html index 8fb9837..fb09b5b 100644 --- a/docs/modules/_config_.html +++ b/docs/modules/_config_.html @@ -98,7 +98,7 @@

    MessageFilter

    MessageFilter: function
    @@ -137,7 +137,7 @@

    NO_TIMEOUT

    NO_TIMEOUT: -1 = -1
    @@ -152,7 +152,7 @@

    config

    config: IConfig = configInternal
    diff --git a/docs/modules/_expectedmessage_.html b/docs/modules/_expectedmessage_.html index f75cf18..25cc25c 100644 --- a/docs/modules/_expectedmessage_.html +++ b/docs/modules/_expectedmessage_.html @@ -98,7 +98,7 @@

    PossibleExpectedMessageCollections

    PossibleExpectedMessageCollections: PossibleExpectedMessageType[]
    @@ -114,7 +114,7 @@

    PossibleExpectedMessageType

    PossibleExpectedMessageType: string | IMessage | RegExp | IEvent
    diff --git a/docs/modules/_messageservice_.html b/docs/modules/_messageservice_.html index 9637c51..7cec6dc 100644 --- a/docs/modules/_messageservice_.html +++ b/docs/modules/_messageservice_.html @@ -91,7 +91,7 @@

    botToUserMessageCheckerFunction

    botToUserMessageCheckerFunction: function
    diff --git a/package.json b/package.json index f821380..8a03d55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bot-tester", - "version": "3.2.2", + "version": "3.3.0", "description": "Easily test bots made with the bot builder framework", "main": "dist/index.js", "types": "dist/index.d.ts",