Comments (3)
Can you tell me what's your node
version?
I mean that could you try to use node v6.0.0
?
from mantra-sample-blog-app.
Same issue using node v4.20.6. Haven't had a chance to try with new node yet but I'm sure that's the issue.
from mantra-sample-blog-app.
Got the same error ; updated to node 6.3.1 with n -> works fine, with just few warnings and 1 pending test :
npm test
> [email protected] test /Users/laurent/dev/meteor/mantra-sample-blog-app
> npm run lint && npm run testonly
> [email protected] lint /Users/laurent/dev/meteor/mantra-sample-blog-app
> eslint ./lib ./client ./server --ext .js
> [email protected] testonly /Users/laurent/dev/meteor/mantra-sample-blog-app
> mocha .scripts/mocha_boot.js client/**/tests/**/*.js --compilers js:babel-core/register
comments.actions.comments
create
✓ should reject if text is not there
✓ should reject if postId is not there
✓ should clear older LocalState for CREATE_COMMENT_ERROR
✓ should call Meteor.call to save the comment
after Meteor.call
if there is error
✓ should set CREATE_COMMENT_ERROR with the error message
clearErrors
✓ should clear CREATE_COMMENT_ERROR local state
comments.components.comment_list
✓ should list given number of items
✓ should list comment author for each item
✓ should list comment text for each item
✓ should list saving status for each item
comments.components.create_comment
✓ should show the error if there are any
✓ should display the create comment form
✓ should create a new comment when click on the button
comments.containers.comment_list
composer
✓ should subscribe to posts.comments
after subscribed
✓ should fetch data from all comments & pass to onData
comments.containers.create_comment
composer
✓ should get CREATE_COMMENT_ERROR from local state
✓ should call onData with null and {error}
✓ should return clearErrors
depsMapper
actions
✓ should map comments.create
✓ should map comments.clearErrors
context
✓ should map the whole context as a function
core.actions.posts
create
✓ should reject if title is not there
✓ should reject if content is not there
✓ should clear older LocalState for SAVING_ERROR
✓ should call Meteor.call to save the post
✓ should redirect user to the post
after Meteor.call
if there is error
✓ should set SAVING_ERROR with the error message
clearErrors
✓ should clear SAVING_ERROR local state
core.components.main_layout
✓ should contain navigation
✓ should render childrens
core.components.navigation
✓ should contain a link to home
✓ should contain a link to create a new post
core.components.newpost
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
✓ should show the error if there are any
✓ should display the create post form
✓ should create a new post when click on the button
core.components.post
✓ should display the post title
✓ should display the post content
✓ should display saving indicator if saving prop is there
core.components.postlist
✓ should list given number of items
✓ should list post title for each item
✓ shallow list post link for each items
core.containers.newpost
composer
✓ should get SAVING_ERROR from local state
✓ should call onData with null and {error}
✓ should return clearErrors
- should get SAVING_NEW_POST from local state
depsMapper
actions
✓ should map posts.create
✓ should map posts.clearErrors
context
✓ should map the whole context as a function
core.containers.post
composer
✓ should subscribe to the given postId via prop
before subscription ready
with latency componsation
✓ should call onData with data
with no latency componsation
✓ should call onData without nothing
after subscription is ready
✓ should call onData with data
core.containers.postlist
composer
✓ should subscribe to posts.list
after subscribed
✓ should fetch data from all posts & pass to onData
53 passing (255ms)
1 pending
What's the pending test ( "should get SAVING_NEW_POST from local state" )
from mantra-sample-blog-app.
Related Issues (20)
- MUI leeds to Uncaught Invariant Violation
- storybook fails with unmodified repo, and with meteor 1.3.2.4 HOT 5
- FlowRouter SSR don't work properly HOT 1
- Git project description demo URL needs updating HOT 1
- Meteor.uuid is deprecated and untrusted on the client side HOT 5
- Failed to parse SourceMap: http://localhost:3000/packages/5b3...a10.map HOT 2
- Comments on naming variables
- Unable to resolve some modules: lib/collections HOT 3
- broken link at top of https://github.com/mantrajs/mantra-sample-blog-app HOT 1
- why not testing server code with wallaby?
- In container file,Where is the arguments of composer function comes from? HOT 4
- Why fetch in composer? HOT 6
- How to check authenticated routes? HOT 1
- no .meteor.com anymore HOT 1
- Cannot Deploy to Galaxy from Mac (Due to binary NPM modules in dev dependencies) HOT 6
- how to bind some arg to all actions ? HOT 1
- loading component HOT 2
- This fails on my system with storybook (app and tests its ok) HOT 1
- FindOne instead find in post.single publication 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 mantra-sample-blog-app.