We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a3537 commit 94367b8Copy full SHA for 94367b8
packages/shell-api/src/shard.spec.ts
@@ -2098,10 +2098,12 @@ describe('Shard', function () {
2098
});
2099
2100
it('throws if serviceProvider.runCommandWithCheck rejects', async function () {
2101
- const expectedError = new Error();
+ const expectedError = new Error(
2102
+ "Missing required parameter 'min' or 'max'"
2103
+ );
2104
serviceProvider.runCommandWithCheck.rejects(expectedError);
2105
const caughtError = await shard
- .moveRange('ns', 'destination', { key: 0 }, { key: 10 })
2106
+ .moveRange('ns', 'destination')
2107
.catch((e) => e);
2108
expect(caughtError).to.equal(expectedError);
2109
0 commit comments