From ad604de296771442adcf2ff1b359c2e32067fa9e Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sat, 23 Nov 2024 10:10:11 +0100 Subject: [PATCH] chore: add MTX20 & MTX21 --- index.js | 4 ++-- test/model-x.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index d8238e3..e8db82a 100644 --- a/index.js +++ b/index.js @@ -75,8 +75,8 @@ const MODEL_X = [ ['Long Range', [['MTX03'], ['MTX10']]], ['Long Range Plus', [['MTX05'], ['MTX07']]], ['Performance', [['MTX04'], ['MTX06'], ['MTX08']]], - ['', [['MTX12'], ['MTX13'], ['MTX15'], ['MTX18']]], - ['Plaid', [['MTX11'], ['MTX14'], ['MTX16'], ['MTX19']]], + ['', [['MTX12'], ['MTX13'], ['MTX15'], ['MTX18'], ['MTX20']]], + ['Plaid', [['MTX11'], ['MTX14'], ['MTX16'], ['MTX19'], ['MTX21']]], ['Plaid+', [['MTX09']]] ] diff --git a/test/model-x.js b/test/model-x.js index d195d17..2d7348b 100644 --- a/test/model-x.js +++ b/test/model-x.js @@ -53,6 +53,7 @@ test('Model X', t => { t.is(title({ optionCodes: ['MDLX', 'MTX13'] }), '') t.is(title({ optionCodes: ['MDLX', 'MTX15'] }), '') t.is(title({ optionCodes: ['MDLX', 'MTX18'] }), '') + t.is(title({ optionCodes: ['MDLX', 'MTX20'] }), '') }) test('Model X Plaid', t => { @@ -60,6 +61,7 @@ test('Model X Plaid', t => { t.is(title({ optionCodes: ['MDLX', 'MTX14'] }), 'Plaid') t.is(title({ optionCodes: ['MDLX', 'MTX16'] }), 'Plaid') t.is(title({ optionCodes: ['MDLX', 'MTX19'] }), 'Plaid') + t.is(title({ optionCodes: ['MDLX', 'MTX21'] }), 'Plaid') }) test('Model X Plaid+', t => {