diff --git a/README.md b/README.md index a41e10a..acecc2f 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Passing in the config overrides any default values or values set by bot-tester.j ignoreTypingEvent: boolean, ignoreEndOfConversationEvent: boolean, // Setting this to true will cause checkSession to hang and test to fail. - ignoreInternalSveMessage?: boolean; + ignoreInternalSaveMessage?: boolean; } ``` diff --git a/src/config.ts b/src/config.ts index 954f2d0..923317e 100644 --- a/src/config.ts +++ b/src/config.ts @@ -31,7 +31,7 @@ export interface IConfig { * ignores the internal __save__ message. Setting this to true will cause checkSession to hang and test to fail */ // this is explicitly not added as a chained builder function to disaude consumers from using this. - ignoreInternalSveMessage?: boolean; + ignoreInternalSaveMessage?: boolean; /** * filters for messages that the BotTester framework should use @@ -63,7 +63,7 @@ if (configFileExists) { configInternal.messageFilters = []; -if (configInternal.ignoreInternalSveMessage) { +if (configInternal.ignoreInternalSaveMessage) { configInternal.messageFilters.push(ignoreInternalSaveMessageFilter); }