Comments (7)
Thank you for your insights, I will definitely look into it.
from quasar-starter-kit.
In order to download testing dependencies along with the quasar template, I forked the quasar-starter-kit and changed the package.json. It downloads only the dependencies for unit test for now only when the user says yes to the question asked (edit meta.js to change the questions asked).
Quasar-cli is needed only to create the folder for those tests, for now I create the folder myself for unit testing while the dependencies are downloaded only i choose to.
from quasar-starter-kit.
Regarding your comment in general, we have moved to babel7 and webpack4 - your package.json shows that your source is not up to date with quasar 0.16.1...
from quasar-starter-kit.
But this approach will even work, we are just creating our own template using quasar-starter-kit .
with quasar 0.16.1 we may have to change the version of the webpack loaders in webpack.test.config.js
from quasar-starter-kit.
Yes, your approach would theoretically work, but the thing is that we want to centrally manage the packages installed for the various test runners. We are not merely offering mocha-webpack. Further, this approach does not hook into the webpack chain of quasar 16+ - which in my opinion is the only reason to use mocha webpack. Otherwise just use jest or Ava...
from quasar-starter-kit.
For your information, I was also able to integrate mocha-webpack into quasar 15, it is Babel and the new webpack approach that makes it challenging with 16.
from quasar-starter-kit.
why use mocha instead of jest?
Jest is very strong supported by facebook, we will need jest snapshot & image snapshot to get pixel perfect test for UI.
from quasar-starter-kit.
Related Issues (20)
- Composition API not instantiated fast enough to be used outside of components HOT 11
- Outdated dependency warnings HOT 1
- Starter Kits Capacitor iOS builds in simulator but times out on device HOT 2
- Including module-example in store prevents SSR from rendering HOT 1
- Quasar Create Issue in Windows HOT 2
- EssentialLink does not use openURL HOT 1
- Relative module not found on i18n - branch next HOT 1
- Feature: command line option to re-apply templates HOT 1
- i18n: auto-detect locale HOT 2
- SSR mode use axios cross-request state pollution HOT 5
- Setup fails with lint error with airbnb config HOT 3
- `quasar dev` fails on a new, clean project HOT 1
- ESLint Standard - PropType not found in ‘vue‘ (and other types) HOT 2
- Vue Class Component - Project Inactivity and HMR Failure HOT 4
- readme has incorrect quasar create HOT 3
- SSR + vue-i18n starter kit issue (memory leak) HOT 8
- ESLint 8 support HOT 1
- Failed to Download Starter Kit when Creating Quasar Project HOT 2
- Support TS properly for other ESLint presets and/or make Prettier the recommended TS preset HOT 1
- Browserlist is too inclusive HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quasar-starter-kit.