source: Dev/trunk/node_modules/grunt-contrib-clean/test/clean_test.js

Last change on this file was 484, checked in by hendrikvanantwerpen, 11 years ago

Commit node_modules, to make checkouts and builds more deterministic.

File size: 483 bytes
RevLine 
[484]1'use strict';
2
3var grunt = require('grunt');
4
5exports.clean = {
6  short: function(test) {
7    test.expect(1);
8
9    var expected = grunt.file.exists('tmp/sample_short');
10    test.equal(expected, false, 'should remove the short directory using clean');
11
12    test.done();
13  },
14  long: function(test) {
15    test.expect(1);
16
17    var expected = grunt.file.exists('tmp/sample_long');
18    test.equal(expected, false, 'should remove the long directory using clean');
19
20    test.done();
21  }
22};
Note: See TracBrowser for help on using the repository browser.