Comments (3)
So far I've tracked it down to this function:
Lines 46 to 48 in aaec89b
When running with a JSON config, the nemoCoreConfig
has nemo-view
in the plugins section:
nemoCoreConfig plugins: { view:
{ module: 'nemo-view',
But when running with plain JS, the plugins section of nemoCoreConfig
is undefined:
nemoCoreConfig plugins: undefined
(In both cases, snap
is in the NemoBaseConfig
which gets merged with the nemoCoreConfig
.)
from nemo.
So here's the problem:
Lines 40 to 44 in aaec89b
If there's no instanceConfig.basedir
(which is the case when you're using an explicit/implicit config file), this generates a nemoCoreConfig
with no plugin information.
One possible (and kinda ugly) fix is to pass program.configFile
all the way down here so if instanceConfig.basedir
is undefined, it will read the config from the config file instead. This like what's being done in _nemo
:
Lines 87 to 99 in aaec89b
from nemo.
BTW while debugging this I noticed that the -C
option is kind difficult with JSON files now. It doesn't support comments in JSON, and if you use shortstop handlers you have to back up out of the node_modules/nemo-core/etc. directory like this:
"data": "require:../../../../test/functional/data/data.json"
from nemo.
Related Issues (20)
- The scaffold feature is broken in [email protected] HOT 2
- Feature Request: Ability to exclude certain tags while running tests.
- Latest mochaawesome[6.2.2] wanted
- Multiple driver instances are not stable
- documentation wrong about `nemo.snap` HOT 1
- Improvements (suggestions) HOT 3
- Plain JS config no longer merges top-level data
- Regression in 4.9.1 with merged profiles? HOT 2
- destroyNemo not properly called in Suite.afterAll in mocha.js HOT 4
- Can we have a switch for zero exit code when tests fail HOT 4
- Load plugins in earlier phase. HOT 2
- Orphaned *driver processes
- describe.skip is not working as expected HOT 2
- Some profiles missed when launch multiple cases in one nemo command
- An in-range update of eslint is breaking the build 🚨 HOT 1
- An in-range update of async is breaking the build 🚨 HOT 2
- An in-range update of graphql is breaking the build 🚨 HOT 1
- An in-range update of minimist is breaking the build 🚨 HOT 5
- An in-range update of flatted is breaking the build 🚨 HOT 1
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 nemo.