From c1fc51cae18f0e09b100f4fb8b48d00ab31e2694 Mon Sep 17 00:00:00 2001 From: Tiina Turban Date: Fri, 13 Oct 2023 20:09:57 +0200 Subject: [PATCH] chore: Update capabilities.test.ts (#17465) --- plugin-server/tests/main/capabilities.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-server/tests/main/capabilities.test.ts b/plugin-server/tests/main/capabilities.test.ts index e3599edde599d..37dca3160e01f 100644 --- a/plugin-server/tests/main/capabilities.test.ts +++ b/plugin-server/tests/main/capabilities.test.ts @@ -9,8 +9,8 @@ jest.mock('../../src/main/ingestion-queues/kafka-queue') jest.mock('../../src/main/graphile-worker/schedule') describe('stringToPluginServerMode', () => { - test('gives the right value for async -> PluginServerMode.plugins_async', () => { - expect(stringToPluginServerMode['async']).toEqual(PluginServerMode.plugins_async) + test('gives the right value for ingestion -> PluginServerMode.plugins_ingestion', () => { + expect(stringToPluginServerMode['ingestion']).toEqual(PluginServerMode.ingestion) }) test('gives undefined for invalid input', () => {