From 51f1b8fcc3bd736ca9d37062e2137a702c29aff8 Mon Sep 17 00:00:00 2001 From: Josh Dover Date: Fri, 28 Feb 2020 13:07:09 -0700 Subject: [PATCH] Test nits --- src/core/server/uuid/resolve_uuid.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/server/uuid/resolve_uuid.test.ts b/src/core/server/uuid/resolve_uuid.test.ts index 4041b0d4381311..efc90c07c1fa6b 100644 --- a/src/core/server/uuid/resolve_uuid.test.ts +++ b/src/core/server/uuid/resolve_uuid.test.ts @@ -172,7 +172,7 @@ describe('resolveInstanceUuid', () => { mockReadFile({ error: fileNotFoundError }); const uuid = await resolveInstanceUuid({ configService, logger, syncToFile: false }); expect(uuid).toEqual(DEFAULT_CONFIG_UUID); - expect(writeFile).not.toHaveBeenCalledWith(); + expect(writeFile).not.toHaveBeenCalled(); expect(logger.debug).toHaveBeenCalledTimes(1); expect(logger.debug.mock.calls[0]).toMatchInlineSnapshot(` Array [ @@ -279,7 +279,7 @@ describe('resolveInstanceUuid', () => { mockReadFile({ error: fileNotFoundError }); const uuid = await resolveInstanceUuid({ configService, logger, syncToFile: false }); expect(uuid).toEqual('NEW_UUID'); - expect(writeFile).not.toHaveBeenCalledWith(); + expect(writeFile).not.toHaveBeenCalled(); expect(logger.debug).toHaveBeenCalledTimes(1); expect(logger.debug.mock.calls[0]).toMatchInlineSnapshot(` Array [