Skip to content

Commit

Permalink
chore: fix allTokens reference
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tkgroot authored and jorenbroekema committed Dec 9, 2024
1 parent 30efcf5 commit 0249bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/formats/javascriptEsm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {},
Expand Down

0 comments on commit 0249bc9

Please sign in to comment.