Skip to content

tests doesn't works with nodejs 4 #10

@sdesbure

Description

@sdesbure

Hello,
I cloned your source and I changed the version to make it work with node 4

{
"dependencies": {
    "debug": "^2.2.0",
    "express": "^4.13.3",
    "react": "^0.13.3"
  },
  "devDependencies": {
    "babel": "^5.8.3",
    "babel-core": "^5.8.3",
    "babel-loader": "^5.3.2",
    "babel-jest": "^5.3.0",
    "jest-cli": "^0.5.2",
    "webpack": "^1.12.1"
 }
}

but I never get the tests to pass: Error: Did not find exactly one match for tag:li or other are spawn.
I digged into src/app/components/__tests__/Item.spec.js and as far as I understand, item is seems to be correctly created but can't be found in the Dom (TestUtils.findRenderedDOMComponentWithTag(item, 'li') returns nil).
I don't know what to do to make it works...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions