Skip to content

Commit 5b98eae

Browse files
committed
Fix typo in tests.
1 parent 1cd7e21 commit 5b98eae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe('PostCSS Guidelines', function () {
251251

252252
it('should allow override of `to` processing option', function (cb) {
253253

254-
var stream = postcss([ doubler ], {to: 'overriden'})
254+
var stream = postcss([ doubler ], {to: 'overridden'})
255255
postcssStub.process.returns(Promise.resolve({
256256
css: '',
257257
warnings: function () {
@@ -260,7 +260,7 @@ describe('PostCSS Guidelines', function () {
260260
}))
261261

262262
stream.on('data', function () {
263-
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overriden')
263+
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overridden')
264264
cb()
265265
})
266266

@@ -282,7 +282,7 @@ describe('PostCSS Guidelines', function () {
282282
var plugins = [ doubler ]
283283
var callback = sandbox.stub().returns({
284284
plugins: plugins,
285-
options: { to: 'overriden' }
285+
options: { to: 'overridden' }
286286
})
287287
var stream = postcss(callback)
288288

@@ -296,7 +296,7 @@ describe('PostCSS Guidelines', function () {
296296
stream.on('data', function () {
297297
assert.equal(callback.getCall(0).args[0], file)
298298
assert.equal(postcssStub.use.getCall(0).args[0], plugins)
299-
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overriden')
299+
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overridden')
300300
cb()
301301
})
302302

@@ -316,7 +316,7 @@ describe('PostCSS Guidelines', function () {
316316

317317
postcssLoadConfigStub.returns(Promise.resolve({
318318
plugins: plugins,
319-
options: { to: 'overriden' }
319+
options: { to: 'overridden' }
320320
}))
321321

322322
postcssStub.process.returns(Promise.resolve({
@@ -333,7 +333,7 @@ describe('PostCSS Guidelines', function () {
333333
options: { to: 'initial' }
334334
})
335335
assert.equal(postcssStub.use.getCall(0).args[0], plugins)
336-
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overriden')
336+
assert.equal(postcssStub.process.getCall(0).args[1].to, 'overridden')
337337
cb()
338338
})
339339

@@ -403,7 +403,7 @@ describe('PostCSS Guidelines', function () {
403403
})
404404

405405
it('should not override `from` and `map` if using gulp-sourcemaps', function (cb) {
406-
var stream = postcss([ doubler ], { from: 'overriden', map: 'overriden' })
406+
var stream = postcss([ doubler ], { from: 'overridden', map: 'overridden' })
407407
var cssPath = __dirname + '/fixture.css'
408408
postcssStub.process.returns(Promise.resolve({
409409
css: '',

0 commit comments

Comments
 (0)