Skip to content

The tests are failing in new Atom #76

Description

@aminya

I created #75 which bumps the dependencies, but the tests fail in the new Atom versions. The tests should be fixed

ProvidersHighlight
  trigger
    it works properly
      Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }
    it ignores previous result from executed twice instantly
      Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }
      Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }
    it does not enable it if providers return no results, including non-array ones
      Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }
    it emits an error if provider throws an error
      Expected 'Invalid Point: (NaN, 0)' to be 'test from provider'.
        Error: Expected 'Invalid Point: (NaN, 0)' to be 'test from provider'.
        at file:///C:/Users/aminy/Documents/GitHub/JavaScript/@atom-ide-community/intentions/spec/providers-highlight-spec.js:243:31
    it triggers providers based on scope
      Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }
  it automatically updates length of decoration everytime coordinates update
    Expected promise to be resolved, but it was rejected with: Invalid Point: (NaN, 0) {  }


Finished in 1.347 seconds
51 tests, 197 assertions, 7 failures, 0 skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions