From c60d66f6524079428ff65f03b5c7fc0ea28dc05d Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Sat, 23 Nov 2024 10:09:54 +0100 Subject: [PATCH] chore: add MTS21 --- index.js | 2 +- test/model-s.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 3b2ea0b..d8238e3 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ const MODEL_S = [ ['Performance', [['MTS04'], ['MTS06'], ['MTS08']]], ['Long Range Plus', [['MTS07']]], ['', [['MTS13'], ['MTS18']]], - ['Plaid', [['MTS11'], ['MTS12'], ['MTS14'], ['MTS19']]], + ['Plaid', [['MTS11'], ['MTS12'], ['MTS14'], ['MTS19'], ['MTS21']]], ['Plaid+', [['MTS09']]] ] diff --git a/test/model-s.js b/test/model-s.js index 9350c9b..5139978 100644 --- a/test/model-s.js +++ b/test/model-s.js @@ -106,6 +106,7 @@ test('Model S Plaid', t => { t.is(title({ optionCodes: ['MDLS', 'MTS12'] }), 'Plaid') t.is(title({ optionCodes: ['MDLS', 'MTS14'] }), 'Plaid') t.is(title({ optionCodes: ['MDLS', 'MTS19'] }), 'Plaid') + t.is(title({ optionCodes: ['MDLS', 'MTS21'] }), 'Plaid') }) test('Model S Plaid+', t => {