Skip to content

Commit bdf7560

Browse files
committed
fix: standardjs lint fix
1 parent dc588ee commit bdf7560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/autoform-api.tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describe('api', function () {
171171
delete Template[template]
172172
})
173173
it("shows a warnring, if the attributes provided a templateName but that template didn't exist", function (done) {
174-
let warned = false
174+
const warned = false
175175
AutoForm._debug = true
176176
stub(console, 'warn', message => {
177177
expect(message).to.equal(`${templateType}: "${templateName}" is not a valid template name. Falling back to a different template.`)
@@ -182,7 +182,7 @@ describe('api', function () {
182182
expect(warned).to.equal(true)
183183
AutoForm._debug = false
184184
})
185-
it("shows a warnring, if no theme exists", function (done) {
185+
it('shows a warnring, if no theme exists', function (done) {
186186
AutoForm._debug = false
187187
stub(console, 'warn', message => {
188188
expect(message).to.equal('AutoForm: no theme found, please consult the README.')

0 commit comments

Comments
 (0)