refactor: code style fixes with prettier and lint (#8208)

This commit is contained in:
dblythy
2022-10-03 22:55:05 +11:00
committed by GitHub
parent 63d51fa6c8
commit 2a82d19dbd
3 changed files with 8 additions and 8 deletions

View File

@@ -469,8 +469,8 @@ describe('server', () => {
});
it('fails if default limit is wrong type', async () => {
for (const value of ["invalid", {}, [], true]) {
await expectAsync(reconfigureServer({ defaultLimit: value})).toBeRejectedWith(
for (const value of ['invalid', {}, [], true]) {
await expectAsync(reconfigureServer({ defaultLimit: value })).toBeRejectedWith(
'Default limit must be a number.'
);
}