Skip to content

Path related failures on Windows when running tests #4061

@BYK

Description

@BYK

When running npm test on Windows, I get the following errors:

  1) CLIEngine executeOnFiles() should return a warning when an explicitly given file is ignored:
     AssertionError: expected 'C:\\tmp\\eslint\\fixtures\\passing.js' to equal '\\tmp\\eslint\\fixtures\\passing.js'
      at Context.<anonymous> (C:\Users\BYK\Documents\Projects\eslint\eslint\tests\lib\cli-engine.js:532:20)

  2) Config findLocalConfigFiles() should return the path when an .eslintrc file is found:
     AssertionError: expected 'C:\\tmp\\eslint\\fixtures\\config-hierarchy\\broken\\.eslintrc' to equal '\\tmp\\eslint\\fixtures\\config-hierarchy\\broken\\.eslintrc'
      at Context.<anonymous> (C:\Users\BYK\Documents\Projects\eslint\eslint\tests\lib\config.js:115:20)

  3) Config findLocalConfigFiles() should return the path when a package.json file is found:
     AssertionError: expected 'C:\\tmp\\eslint\\fixtures\\config-hierarchy\\broken\\package.json' to equal '\\tmp\\eslint\\fixtures\\config-hierarchy\\broken\\package.json'

This is happening on latest master with Node 4.

Metadata

Metadata

Assignees

Labels

acceptedThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlybuildThis change relates to ESLint's build process

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions