Skip to content

Commit 589a4b4

Browse files
Revert accidental replacements [ci skip].
1 parent 16e6807 commit 589a4b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/tinify-test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ describe("tinify", function() {
200200
const source = tinify.fromBuffer("png file")
201201
assert.instanceOf(source, tinify.Source)
202202

203-
/* We must return buffer in order to const mocha evaluate the promise and
203+
/* We must return buffer in order to let mocha evaluate the promise and
204204
make sure we wait for this request to complete. */
205205
return source.toBuffer()
206206
})
@@ -223,7 +223,7 @@ describe("tinify", function() {
223223
const source = tinify.fromFile(dummyFile)
224224
assert.instanceOf(source, tinify.Source)
225225

226-
/* We must return buffer in order to const mocha evaluate the promise and
226+
/* We must return buffer in order to let mocha evaluate the promise and
227227
make sure we wait for this request to complete. */
228228
return source.toBuffer()
229229
})
@@ -246,7 +246,7 @@ describe("tinify", function() {
246246
const source = tinify.fromUrl("http://example.com/test.jpg")
247247
assert.instanceOf(source, tinify.Source)
248248

249-
/* We must return buffer in order to const mocha evaluate the promise and
249+
/* We must return buffer in order to let mocha evaluate the promise and
250250
make sure we wait for this request to complete. */
251251
return source.toBuffer()
252252
})

0 commit comments

Comments
 (0)