Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit 475b466

Browse files
authored
fix: Remove Gulp and replace Mocha with Jest (#6)
1 parent 1fe4844 commit 475b466

File tree

8 files changed

+4318
-5208
lines changed

8 files changed

+4318
-5208
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/templates
2+
coverage

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: node_js
22
node_js:
3-
- v7
4-
- v6
5-
- v4
3+
- 6
4+
- 7
5+
- node
6+
after_script:
7+
- npm run coveralls
68
addons:
79
code_climate:
810
repo_token: 1df4f6b88354e9ddfb84b7b06388d78ed12fb808747bca045225cfea3e2fb377

test/app.js renamed to __tests__/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const helper = require('../generators/app/promptingHelpers');
66
const chalk = require('chalk');
77

88
describe('generator-http-fake-backend → server', () => {
9-
before(done => {
9+
beforeAll(done => {
1010
helpers.run(path.join(__dirname, '../generators/app'))
1111
.withPrompts({
1212
serverPort: 8081,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const helper = require('../generators/endpoint/promptingHelpers');
66
const chalk = require('chalk');
77

88
describe('generator-http-fake-backend → endpoint', () => {
9-
before(() => {
9+
beforeAll(() => {
1010
return helpers.run(path.join(__dirname, '../generators/endpoint'))
1111
.withOptions({someOption: true})
1212
.withPrompts({
@@ -46,7 +46,7 @@ describe('generator-http-fake-backend → endpoint', () => {
4646
});
4747

4848
describe('generator-http-fake-backend → endpoint → JSON file', () => {
49-
before(() => {
49+
beforeAll(() => {
5050
return helpers.run(path.join(__dirname, '../generators/endpoint'))
5151
.withOptions({someOption: true})
5252
.withPrompts({

gulpfile.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)