Skip to content

Commit

Permalink
rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
thedev966 committed Mar 14, 2024
1 parent 5b29a9d commit 553fa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin-retail.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Retail', function() {
sinon.restore();
});

it('on init should attach keydonw listener on document', function() {
it('should attach document keydown listener on init', function() {
var spy = sinon.spy(window.document, 'addEventListener');

Check failure on line 20 in test/plugin-retail.js

View check run for this annotation

SonarQubePR NSoft / seven-gravity-gateway Sonarqube Results

test/plugin-retail.js#L20

Unexpected var, use let or const instead.
retailPlugin.setUpOnce(slaveInstance);
assert.equal(spy.called, true);
Expand Down

0 comments on commit 553fa39

Please sign in to comment.