diff --git a/test/en-US.test.js b/test/en-US.test.js new file mode 100644 index 0000000..dfff5bb --- /dev/null +++ b/test/en-US.test.js @@ -0,0 +1,12 @@ +const assert = require('assert'); +const translations = require('../en-US.js'); + +describe('en-US translations', function() { + it('should have correct translation for "启动失败"', function() { + assert.strictEqual(translations['启动失败'], 'failed'); + }); + + it('should have correct translation for "系统提示"', function() { + assert.strictEqual(translations['系统提示'], 'System infomation'); + }); +});