Skip to content

What's the test.env.js means ? #1345

Open
@skyfore

Description

@skyfore

When I created a new project by using vue-cli

test@test:/tmp$ vue init webpack vtest

? Project name vtest
? Project description A Vue.js project
? Author 
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recommended) npm

and I modify test.env.js

console.log('Had been called!');
// do something

There is not any console in my terminal while I run npm t.

So, What's the test.env.js doing ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions