Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/spec/fs.unwatchFile.spec.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
var util = require('../lib/test-utils.js');
var expect = require('chai').expect;
const util = require('../lib/test-utils.js');
const expect = require('chai').expect;

// Waiting on https://github.com/filerjs/filer/pull/553 to land
describe.skip('fs.unwatchFile', function() {
beforeEach(util.setup);
afterEach(util.cleanup);

it('should be a function', function() {
var fs = util.fs();
const fs = util.fs();
expect(typeof fs.unwatchFile).to.equal('function');
});

it('should not throw an error when using a file not being watched', function() {
var fs = util.fs();
const fs = util.fs();

try {
fs.unwatchFile('/myfile');
Expand Down