style: replace var with let in /test files (#6164)

This commit is contained in:
Tim Lai
2020-06-23 10:16:23 -07:00
committed by GitHub
parent faae3e9d2c
commit a1589a679c
6 changed files with 204 additions and 204 deletions

View File

@@ -28,7 +28,7 @@ describe("wrapComponents", () => {
})
// When
var Component = system.getSystem().getComponents("wow")
let Component = system.getSystem().getComponents("wow")
const wrapper = render(<Component name="Normal" />)
const container = wrapper.children().first()
@@ -73,7 +73,7 @@ describe("wrapComponents", () => {
})
// When
var Component = system.getSystem().getComponents("wow")
let Component = system.getSystem().getComponents("wow")
const wrapper = render(<Component name="Normal" />)
const container = wrapper.children().first()
@@ -125,7 +125,7 @@ describe("wrapComponents", () => {
})
// Then
var Component = mySystem.getSystem().getComponents("wow")
let Component = mySystem.getSystem().getComponents("wow")
const wrapper = render(<Component name="Normal" />)
const container = wrapper.children().first()
@@ -179,7 +179,7 @@ describe("wrapComponents", () => {
])
// Then
var Component = mySystem.getSystem().getComponents("wow")
let Component = mySystem.getSystem().getComponents("wow")
const wrapper = render(<Component name="Normal" />)
const container = wrapper.children().first()
@@ -233,7 +233,7 @@ describe("wrapComponents", () => {
})
// Then
var Component = secondSystem.getSystem().getComponents("wow")
let Component = secondSystem.getSystem().getComponents("wow")
const wrapper = render(<Component name="Normal" />)
const container = wrapper.children().first()