Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Tests #84

Open
littlebee opened this issue Feb 18, 2017 · 2 comments
Open

Failing Tests #84

littlebee opened this issue Feb 18, 2017 · 2 comments

Comments

@littlebee
Copy link

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

@jwalton
Copy link
Contributor

jwalton commented Feb 19, 2017 via email

@jaredsmith
Copy link

Any status update here? I'm still seeing failing tests... most with just a column off by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants