Use const/let in specs, not var

This commit is contained in:
Steve Gravrock
2022-04-16 13:41:44 -07:00
parent 482dc883eb
commit 1166d10e43
111 changed files with 2522 additions and 2675 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
describe('ResultsNode', function() {
it('wraps a result', function() {
var fakeResult = {
const fakeResult = {
id: 123,
message: 'foo'
},
@@ -11,7 +11,7 @@ describe('ResultsNode', function() {
});
it('can add children with a type', function() {
var fakeResult = {
const fakeResult = {
id: 123,
message: 'foo'
},
@@ -29,7 +29,7 @@ describe('ResultsNode', function() {
});
it('has a pointer back to its parent ResultNode', function() {
var fakeResult = {
const fakeResult = {
id: 123,
message: 'foo'
},
@@ -45,7 +45,7 @@ describe('ResultsNode', function() {
});
it('can provide the most recent child', function() {
var fakeResult = {
const fakeResult = {
id: 123,
message: 'foo'
},