refactor: clean up supportLangs refs

This commit is contained in:
Oliver Eyton-Williams
2020-12-17 18:15:20 +01:00
committed by Mrugesh Mohapatra
parent 24d9c94fe5
commit ac6fc605ad
3 changed files with 0 additions and 7 deletions

View File

@ -5,8 +5,6 @@ const {
curriculum: curriculumLangs
} = require('../client/i18n/allLangs').availableLangs;
// const supportedLangs = ['chinese', 'english'];
exports.testedLang = function testedLang() {
if (process.env.CURRICULUM_LOCALE) {
if (curriculumLangs.includes(process.env.CURRICULUM_LOCALE)) {
@ -19,5 +17,3 @@ exports.testedLang = function testedLang() {
throw Error('LOCALE must be set for testing');
}
};
// exports.supportedLangs = supportedLangs;