From 54faad76ba8592c1e234cf9d9608fc769c94d3e3 Mon Sep 17 00:00:00 2001 From: tunnckoCore Date: Tue, 1 Nov 2016 01:47:50 +0200 Subject: [PATCH] chore(tests): update --- test.js | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/test.js b/test.js index a8b50ef..51f95ca 100644 --- a/test.js +++ b/test.js @@ -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 @@ -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) +})