From 0249bc9f54e131b33db707dffb741568ed890feb Mon Sep 17 00:00:00 2001 From: Tobias Kuppens Groot Date: Mon, 9 Dec 2024 15:58:44 +0100 Subject: [PATCH] chore: fix allTokens reference allTokens was an empty array. however it is not used by the format function 'javascript/esm' therefore it could also be safely removed Signed-off-by: Tobias Kuppens Groot --- __tests__/formats/javascriptEsm.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/formats/javascriptEsm.test.js b/__tests__/formats/javascriptEsm.test.js index f84a6129f..8f04dc71d 100644 --- a/__tests__/formats/javascriptEsm.test.js +++ b/__tests__/formats/javascriptEsm.test.js @@ -155,7 +155,7 @@ describe('formats', () => { createFormatArgs({ dictionary: { tokens: DTCGTokens, - allTokens: convertTokenData(tokens, { output: 'array', usesDtcg: true }), + allTokens: convertTokenData(DTCGTokens, { output: 'array', usesDtcg: true }), }, file, platform: {},