Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rolljee committed Nov 23, 2023
1 parent 6f61a37 commit 5867b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/Sdk.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ Feature: SDK commands
Scenario: Execute Typescript code in the SDK context
Given an existing collection "nyc-open-data":"yellow-taxi"
When I run the command "sdk:execute" with:
| arg | return const index: string = "nyc-open-data"; const collection: string = "yellow-taxi"; const id: string = "document-ricky"; await sdk.document.create(index, collection, {}, id); |
| arg | const index: string = "nyc-open-data"; const collection: string = "yellow-taxi"; const id: string = "document-ricky"; return await sdk.document.create(index, collection, {}, id); |
Then The document "document-ricky" should exist
And I should match stdout with "document-ricky"

0 comments on commit 5867b91

Please sign in to comment.