chore: fix typo (#229)

Related to #163
pull/227/merge
EvertEt 2021-03-09 10:49:09 +01:00 committed by GitHub
parent 9d14ac51a8
commit 6610661b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ describe('browser application', () => {
btn.className.should.containEql('play'); btn.className.should.containEql('play');
const log = window.document.querySelector('.log'); const log = window.document.querySelector('.log');
log.childNodes.length.should.be.equal(2); log.childNodes.length.should.be.equal(2);
log.lastChild.textContent.should.be.equal('==> SKIPED: 2 <=='); log.lastChild.textContent.should.be.equal('==> SKIPPED: 2 <==');
}); });
it('should play', () => { it('should play', () => {
@ -230,7 +230,7 @@ describe('browser application', () => {
io.emit('line', 'line1'); io.emit('line', 'line1');
const log = window.document.querySelector('.log'); const log = window.document.querySelector('.log');
log.childNodes.length.should.be.equal(1); log.childNodes.length.should.be.equal(1);
log.lastChild.textContent.should.be.equal('==> SKIPED: 1 <=='); log.lastChild.textContent.should.be.equal('==> SKIPPED: 1 <==');
btn.className.should.containEql('play'); btn.className.should.containEql('play');
btn.dispatchEvent(event); btn.dispatchEvent(event);
io.emit('line', 'line2'); io.emit('line', 'line2');

View File

@ -289,7 +289,7 @@ window.App = (function app(window, document) {
.on('line', function(line) { .on('line', function(line) {
if (_isPaused) { if (_isPaused) {
_skipCounter += 1; _skipCounter += 1;
self.log('==> SKIPED: ' + _skipCounter + ' <==', (_skipCounter > 1)); self.log('==> SKIPPED: ' + _skipCounter + ' <==', (_skipCounter > 1));
} else { } else {
self.log(line); self.log(line);
} }