Skip to content

Commit

Permalink
test: change process.env.MICRO_APP_TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Mar 2, 2020
1 parent f70bc9b commit 4cf3439
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/coveralls.yml
Expand Up @@ -32,6 +32,8 @@ jobs:
run: |
yarn add -D coveralls
yarn run test --coverage && cat ./coverage/lcov.info
env:
MICRO_APP_TEST: true

- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
3 changes: 0 additions & 3 deletions src/commands/build/build.test.js
@@ -1,8 +1,5 @@
'use strict';

process.env.MICRO_APP_TEST = 'true';


/* global expect */

describe('Command build', () => {
Expand Down
2 changes: 0 additions & 2 deletions src/commands/inspect/inspect.test.js
@@ -1,7 +1,5 @@
'use strict';

process.env.MICRO_APP_TEST = 'true';

/* global expect */

describe('Plugin micro-app:inspect', () => {
Expand Down
2 changes: 0 additions & 2 deletions src/commands/serve/serve.test.js
@@ -1,7 +1,5 @@
'use strict';

process.env.MICRO_APP_TEST = 'true';

/* global expect */

describe('Command serve', () => {
Expand Down

0 comments on commit 4cf3439

Please sign in to comment.