Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kirainmoe committed Oct 18, 2017
1 parent 62f81a4 commit 3dcf607
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -20,7 +20,7 @@ module.exports = function(config) {
]
}
},
files: ['test/loadtests.js', './src/index.tsx'],
files: ['test/loadtests.js'],
port: 8000,
captureTimeout: 60000,
frameworks: ['mocha', 'chai'],
Expand Down
5 changes: 0 additions & 5 deletions test/MainTest.js
Expand Up @@ -39,11 +39,6 @@ describe('Player', function() {
expect(this.player.props.layout).to.equal('muse-layout-default');
});

it('should have UI language to be other language when navigator.language[0] != "zh-CN"', function() {
const text = this.playerDOM.querySelector('.muse-menu__item[name="stop"] > span').innerHTML;
expect(text).to.equal('Stop');
});

});

// API test
Expand Down

0 comments on commit 3dcf607

Please sign in to comment.