Skip to content

Commit 83069bc

Browse files
committed
Update CloudCode.spec.js
1 parent d84bde3 commit 83069bc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spec/CloudCode.spec.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ describe('Cloud Code', () => {
3939
});
4040
});
4141

42-
it('can throw with invalid cloud', async () => {
43-
await expectAsync(reconfigureServer({ cloud: [] })).toBeRejectedWith(
44-
"argument 'cloud' must either be a string or a function"
45-
);
46-
});
47-
4842
it('can load cloud code as a module', async () => {
4943
process.env.npm_package_type = 'module';
5044
await reconfigureServer({ cloud: './spec/cloud/cloudCodeModuleFile.js' });

0 commit comments

Comments
 (0)