Skip to content

Failing Tests #84

Description

@littlebee

Hi, I forked this repo to add support for CJSX / coffee-react. I haven't made any changes yet, but tests are failing. I wonder if maybe I don't have something installed that I need?

tail of results from npm build && mocha:

77 passing (2s)
7 failing

  1. Istanbul tests should find if branch with no else:

    first statement

    • expected - actual

    {
    "end": {

    • "column": 29
    • "column": 30
      "line": 2
      }
      "start": {
      "column": 0

    at Context. (test/istanbul/test.coffee:345:66)

  2. Istanbul tests should find switch/case branches:

    first statement

    • expected - actual

    {
    "end": {

    • "column": 22
    • "column": 23
      "line": 6
      }
      "start": {
      "column": 0

    at Context. (test/istanbul/test.coffee:468:66)

  3. Istanbul tests should find functions:

    first statement

    • expected - actual

    {
    "end": {

    • "column": 22
    • "column": 23
      "line": 2
      }
      "start": {
      "column": 0

    at Context. (test/istanbul/test.coffee:589:66)

  4. Istanbul tests should find multi-line functions:

    first statement

    • expected - actual

    {
    "end": {

    • "column": 22
    • "column": 23
      "line": 6
      }
      "start": {
      "column": 0

    at Context. (test/istanbul/test.coffee:683:66)

  5. Istanbul tests should find functions in a class:

    class statement

    • expected - actual

    {
    "end": {

    • "column": 10
    • "column": 11
      "line": 4
      }
      "start": {
      "column": 0

    at Context. (test/istanbul/test.coffee:786:66)

  6. Istanbul tests should find name of anonymous class:

    class fn

    • expected - actual

       "column": 4
       "line": 1
      

      }
      }

    • "name": "_Class"
    • "name": "(anonymousClass)"
      }

    at Context. (test/istanbul/test.coffee:864:59)

  7. Coverage tests should handle nested recursion correctly:

    AssertionError: expected 5 to equal 10

    • expected - actual

    -5
    +10

    at Context. (test/tests.coffee:107:27)

bwilkerson@IT-SEA14730-MBP:/projects/zulily/coffee-coverage$ npm -v
4.1.2
bwilkerson@IT-SEA14730-MBP:
/projects/zulily/coffee-coverage$ node -v
v7.5.0
bwilkerson@IT-SEA14730-MBP:~/projects/zulily/coffee-coverage$ mocha -v

error: unknown option `-v'

bwilkerson@IT-SEA14730-MBP:~/projects/zulily/coffee-coverage$ mocha --version
3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions