Skip to content

Commit

Permalink
add jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Sep 25, 2023
1 parent bb1a318 commit 8e83153
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/component/myutils_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,16 @@ describe('Myutils', function() {
});
describe('When string and there is a variable which is a number to expand', function() {
it('should return the string number', function() {
/*jshint quotmark: double */
var str = "'${a}'",
/*jshint quotmark: single */
map = { a: 23 },
newStr;
newStr = myutils.expandVar(str, map, true);
should.exist(newStr);
/*jshint quotmark: double */
newStr.should.be.equal("'23'");
/*jshint quotmark: single */
});
});
describe('When string and there is a variable which is a number to expand', function() {
Expand Down

0 comments on commit 8e83153

Please sign in to comment.