// import { expect } from 'chai';
import * as fs from './index';

describe('fs', function() {
    describe('unlink', function() {
        it('should do maybe unlink stuff', function(done) {
            fs.writeFileAsync('/tmp/foo', 'something').then(function() {
                return fs.unlinkAsync('/tmp/foo');
            }).then(function() {
                done();
            }).catch(done);
        });
    });
});

let fs = require(./index');

describe('fs', function() {
    describe('unlink', function() {
        it('should do maybe unlink stuff', function(done) {
            fs.writeFileAsync('/tmp/foo', 'something').then(function() {
                return fs.unlinkAsync('/tmp/foo');
            }).then(function() {
                done();
            }).catch(done);
        });
    });
});

Fix "use of const" error in strict mode for Node 0.12.
Fix "use of const" error in strict mode for Node 0.12.
