Skip to content

Commit

Permalink
chore(tests): update
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Oct 31, 2016
1 parent a3954cf commit 54faad7
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

'use strict'

// var fs = require('fs')
var fs = require('fs')
var assert = require('assert')

// get it from `lib/index.js` it will be the
Expand All @@ -31,35 +31,35 @@ test(function sasa (next) {
next()
})

// test.skip('four (skip)', function () {
// assert.strictEqual(2121, 2121)
// })

// test('foo', function () {
// assert.strictEqual(55, 55)
// })
test.skip('four (skip)', function () {
assert.strictEqual(2121, 2121)
})

// // test('six (async failing arg)', function (cb) {
// // assert.strictEqual(123, 123)
// // })
test('foo', function () {
assert.strictEqual(55, 55)
})

// test('bar', function () {
// assert.strictEqual(33, 33)
// test('six (async failing arg)', function (cb) {
// assert.strictEqual(123, 123)
// })

// // test('eight (sync fail)', function () {
// // throw new Error('aloha')
// // })
test('bar', function () {
assert.strictEqual(33, 33)
})

// test('nine', function () {
// assert.strictEqual(2, 2)
// test('eight (sync fail)', function () {
// throw new Error('aloha')
// })

// test.todo('ten (sync todo fail)', function () {
// throw new Error('aloha', ctx) // eslint-disable-line no-undef
// })
test('nine', function () {
assert.strictEqual(2, 2)
})

// test('eleven (async last)', function (callback) {
// assert.strictEqual(44, 44)
// fs.stat('./package.json', callback)
// })
test.todo('ten (sync todo fail)', function () {
throw new Error('aloha', ctx) // eslint-disable-line no-undef
})

test('eleven (async last)', function (callback) {
assert.strictEqual(44, 44)
fs.stat('./package.json', callback)
})

0 comments on commit 54faad7

Please sign in to comment.