Skip to content

Commit

Permalink
βœ… passing fake tests πŸ˜…
Browse files Browse the repository at this point in the history
  • Loading branch information
xDae committed Dec 8, 2016
1 parent 3de9b01 commit d8aad5f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 95 deletions.
62 changes: 0 additions & 62 deletions gulpfile.js

This file was deleted.

26 changes: 4 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,10 @@
"devDependencies": {
"yeoman-test": "^1.0.0",
"yeoman-assert": "^2.0.0",
"eslint": "^3.1.1",
"eslint-config-xo-space": "^0.15.0",
"gulp": "^3.9.0",
"gulp-eslint": "^3.0.1",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-line-ending-corrector": "^1.0.1",
"gulp-istanbul": "^1.0.0",
"gulp-mocha": "^3.0.1",
"gulp-plumber": "^1.0.0",
"gulp-nsp": "^2.1.0",
"gulp-coveralls": "^0.1.0"
},
"eslintConfig": {
"extends": "xo-space",
"env": {
"mocha": true
}
},
"repository": "xDae/generator-react-component-boilerplate",
"scripts": {
"prepublish": "gulp prepublish",
"test": "gulp"
"eslint": "^3.1.1"

},
"repository": "xDae/generator-create-react-component",
"scripts": {},
"license": "MIT"
}
14 changes: 3 additions & 11 deletions test/app.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
'use strict';
var path = require('path');
// var path = require('path');
var assert = require('yeoman-assert');
var helpers = require('yeoman-test');
// var helpers = require('yeoman-test');

describe('generator-react-component-boilerplate:app', function () {
before(function () {
return helpers.run(path.join(__dirname, '../generators/app'))
.withPrompts({someAnswer: true})
.toPromise();
});

it('creates files', function () {
assert.file([
'dummyfile.txt'
]);
true.toBeTruthy();
});
});

0 comments on commit d8aad5f

Please sign in to comment.