https://github.com/timwis/repro-nuxt-import
Demonstrates that importing vue inside the jest context logs the Vue production tip to the console.
https://github.com/timwis/repro-nuxt-import
Last synced: 4 months ago
JSON representation
Demonstrates that importing vue inside the jest context logs the Vue production tip to the console.
- Host: GitHub
- URL: https://github.com/timwis/repro-nuxt-import
- Owner: timwis
- Created: 2018-02-14T19:50:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T19:50:21.000Z (over 8 years ago)
- Last Synced: 2025-01-25T07:11:22.716Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# repro-nuxt-import
Demonstrates that importing vue inside the jest context logs the Vue production tip to the console.
## usage
```bash
npm test
PASS ./test.js
✓ logs vue production tip (1ms)
console.info node_modules/vue/dist/vue.runtime.common.js:7913
You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
console.log test.js:4
done
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 2.429s
Ran all test suites.
```