ci: Find duplicate and slow tests (#9188)

This commit is contained in:
Diamond Lewis
2024-07-16 03:34:10 -05:00
committed by GitHub
parent 872b9eb47b
commit e355f36ed4
13 changed files with 43 additions and 170 deletions

View File

@@ -49,6 +49,7 @@ describe('Cloud Code', () => {
});
it('cloud code must be valid type', async () => {
spyOn(console, 'error').and.callFake(() => {});
await expectAsync(reconfigureServer({ cloud: true })).toBeRejectedWith(
"argument 'cloud' must either be a string or a function"
);