Skip to content

test: Тесты для backgroundApps #243

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

evgeniysemin
Copy link
Contributor

@evgeniysemin evgeniysemin commented Dec 12, 2021

📦 Published PR as canary version: 4.11.2--canary.243.0557b298f716b4cd69932f5055522aeab38e52a4.0

✨ Test out this PR locally via:

npm install @sberdevices/assistant-client@4.11.2--canary.243.0557b298f716b4cd69932f5055522aeab38e52a4.0
# or 
yarn add @sberdevices/assistant-client@4.11.2--canary.243.0557b298f716b4cd69932f5055522aeab38e52a4.0

@evgeniysemin evgeniysemin changed the title feat: Тесты для backgroundApps test: Тесты для backgroundApps Dec 12, 2021
const data = JSON.parse(message.systemMessage.data);

if (data.app_info?.appversionId === APPS[0].appversionId) {
stubOnServerAction(data.server_action);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сравнивать app_info и server_action
количество вызовов stub - не важно, тк тест завершается при первом вызове (done)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants