-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
glen
committed
Oct 26, 2023
1 parent
a4f009d
commit f7f7bcf
Showing
4 changed files
with
18 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,16 +37,14 @@ describe('When creating trip cancelations', () => { | |
it('should save trip cancelations batch', () => { | ||
api.logIn({ username: '[email protected]', password: 'securepassword' }); | ||
|
||
const tripCancelationBatchPromise = api.customer('SYNC').tripCancelationBatch({ | ||
cancelations: [ | ||
const tripCancelationBatchPromise = api.customer('SYNC').tripCancelationBatch([ | ||
{ | ||
customerId: 1, | ||
}, | ||
{ | ||
customerId: 1, | ||
}, | ||
], | ||
}) | ||
]) | ||
.create() | ||
.then(msg => msg); // Do things with msg | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters