test.done();
},
-
+
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ar-ma'), 'ar-ma', "module should export ar-ma");
-
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ar-ma'), 'ar-ma', "module should export ar-ma");
+ }
test.done();
}
};
test.done();
},
-
+
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ar'), 'ar', "module should export ar");
-
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ar'), 'ar', "module should export ar");
+ }
test.done();
}
};
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/bg'), 'bg', "module should export bg");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/bg'), 'bg', "module should export bg");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/br'), 'br', "module should export br");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/br'), 'br', "module should export br");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/bs'), 'bs', "module should export bs");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/bs'), 'bs', "module should export bs");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ca'), 'ca', "module should export ca");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ca'), 'ca', "module should export ca");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/cs'), 'cs', "module should export cs");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/cs'), 'cs', "module should export cs");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/cv'), 'cv', "module should export cv");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/cv'), 'cv', "module should export cv");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/da'), 'da', "module should export da");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/da'), 'da', "module should export da");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/de'), 'de', "module should export de");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/de'), 'de', "module should export de");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/el'), 'el', "module should export el");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/el'), 'el', "module should export el");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/en-au'), 'en-au', "module should export en-au");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/en-au'), 'en-au', "module should export en-au");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/en-ca'), 'en-ca', "module should export en-ca");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/en-ca'), 'en-ca', "module should export en-ca");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/en-gb'), 'en-gb', "module should export en-gb");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/en-gb'), 'en-gb', "module should export en-gb");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/eo'), 'eo', "module should export eo");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/eo'), 'eo', "module should export eo");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/es'), 'es', "module should export es");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/es'), 'es', "module should export es");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/et'), 'et', "module should export et");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/et'), 'et', "module should export et");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/eu'), 'eu', "module should export eu");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/eu'), 'eu', "module should export eu");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/fa'), 'fa', "module should export fa");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/fa'), 'fa', "module should export fa");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/fi'), 'fi', "module should export fi");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/fi'), 'fi', "module should export fi");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/fr-ca'), 'fr-ca', "module should export fr-ca");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/fr-ca'), 'fr-ca', "module should export fr-ca");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/fr'), 'fr', "module should export fr");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/fr'), 'fr', "module should export fr");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/gl'), 'gl', "module should export gl");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/gl'), 'gl', "module should export gl");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/he'), 'he', "module should export he");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/he'), 'he', "module should export he");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/hi'), 'hi', "module should export hi");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/hi'), 'hi', "module should export hi");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/hr'), 'hr', "module should export hr");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/hr'), 'hr', "module should export hr");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/hu'), 'hu', "module should export hu");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/hu'), 'hu', "module should export hu");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/id'), 'id', "module should export id");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/id'), 'id', "module should export id");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
+ if (typeof module !== 'undefined' && module.exports) {
- test.equal(require('../../lang/is'), 'is', "module should export is");
+ test.equal(require('../../lang/is'), 'is', "module should export is");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/it'), 'it', "module should export it");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/it'), 'it', "module should export it");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ja'), 'ja', "module should export ja");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ja'), 'ja', "module should export ja");
+ }
test.done();
}
test.done();
},
-
+
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ka'), 'ka', "module should export ka");
-
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ka'), 'ka', "module should export ka");
+ }
+
test.done();
}
};
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ko'), 'ko', "module should export ko");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ko'), 'ko', "module should export ko");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/lt'), 'lt', "module should export lt");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/lt'), 'lt', "module should export lt");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/lv'), 'lv', "module should export lv");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/lv'), 'lv', "module should export lv");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ml'), 'ml', "module should export ml");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ml'), 'ml', "module should export ml");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/mr'), 'mr', "module should export mr");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/mr'), 'mr', "module should export mr");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ms-my'), 'ms-my', "module should export ms-my");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ms-my'), 'ms-my', "module should export ms-my");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/nb'), 'nb', "module should export nb");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/nb'), 'nb', "module should export nb");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ne'), 'ne', "module should export ne");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ne'), 'ne', "module should export ne");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/nl'), 'nl', "module should export nl");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/nl'), 'nl', "module should export nl");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/nn'), 'nn', "module should export nn");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/nn'), 'nn', "module should export nn");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/pl'), 'pl', "module should export pl");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/pl'), 'pl', "module should export pl");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/pt-br'), 'pt-br', "module should export pt-br");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/pt-br'), 'pt-br', "module should export pt-br");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/pt'), 'pt', "module should export pt");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/pt'), 'pt', "module should export pt");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ro'), 'ro', "module should export ro");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ro'), 'ro', "module should export ro");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/ru'), 'ru', "module should export ru");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/ru'), 'ru', "module should export ru");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/sk'), 'sk', "module should export sk");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/sk'), 'sk', "module should export sk");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/sl'), 'sl', "module should export sl");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/sl'), 'sl', "module should export sl");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/sq'), 'sq', "module should export sq");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/sq'), 'sq', "module should export sq");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/sv'), 'sv', "module should export sv");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/sv'), 'sv', "module should export sv");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/th'), 'th', "module should export th");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/th'), 'th', "module should export th");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/tr'), 'tr', "module should export tr");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/tr'), 'tr', "module should export tr");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/tzm-la'), 'tzm-la', "module should export tzm-la");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/tzm-la'), 'tzm-la', "module should export tzm-la");
+ }
test.done();
}
test.done();
},
-
+
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/tzm'), 'tzm', "module should export tzm");
-
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/tzm'), 'tzm', "module should export tzm");
+ }
test.done();
}
};
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/uk'), 'uk', "module should export uk");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/uk'), 'uk', "module should export uk");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/uz'), 'uz', "module should export uz");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/uz'), 'uz', "module should export uz");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/vn'), 'vn', "module should export vn");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/vn'), 'vn', "module should export vn");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/zh-cn'), 'zh-cn', "module should export zh-cn");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/zh-cn'), 'zh-cn', "module should export zh-cn");
+ }
test.done();
}
},
"returns the name of the language" : function (test) {
- test.expect(1);
-
- test.equal(require('../../lang/zh-tw'), 'zh-tw', "module should export zh-tw");
+ if (typeof module !== 'undefined' && module.exports) {
+ test.equal(require('../../lang/zh-tw'), 'zh-tw', "module should export zh-tw");
+ }
test.done();
}