Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Cannot run tests with Jasmine Spec Runner #11773

Closed
petetnt opened this issue Oct 4, 2015 · 4 comments
Closed

Cannot run tests with Jasmine Spec Runner #11773

petetnt opened this issue Oct 4, 2015 · 4 comments

Comments

@petetnt
Copy link
Collaborator

petetnt commented Oct 4, 2015

I am trying to run tests with Jasmine Spec Runner but opening the Spec Runner just ends up in a blank screen:

image

Brackets continues to work normally except it cannot be exited anymore without killing the process. Latest master (be50533), brackets-shell shipped that shipped with 1.4. Cannot build the shell myself ATM, so I'll have to wait until 1.5. to test against that unless someone has some better ideas... Clearing out the cache folder etc. didn't help.

@abose abose added this to the Release 1.6 milestone Oct 6, 2015
@abose
Copy link
Contributor

abose commented Oct 6, 2015

I am also seeing the same error.

@abose
Copy link
Contributor

abose commented Oct 6, 2015

@le717 @zaggino #9622 lead to this break.

Console logs:
Failed to load resource: net::ERR_FILE_NOT_FOUND
require.js:141 Uncaught Error: Script error for: project/FileIndexManager
http://requirejs.org/docs/errors.html#scripterror
file:///C:/Users/abose/Documents/brackets/brackets/src/file/NativeFileSystem.js Failed to load resource: net::ERR_FILE_NOT_FOUND
require.js:141 Uncaught Error: Script error for: file/NativeFileSystem
http://requirejs.org/docs/errors.html#scripterror
file:///C:/Users/abose/Documents/brackets/brackets/src/file/NativeFileError.js Failed to load resource: net::ERR_FILE_NOT_FOUND
require.js:141 Uncaught Error: Script error for: file/NativeFileError

@petetnt
Copy link
Collaborator Author

petetnt commented Oct 6, 2015

Here's the offending lines on test/SpecRunner.js

// Also load compatibility shims for now, in case legacy extensions are still using old file APIs

    // Also load compatibility shims for now, in case legacy extensions are still using old file APIs
    require("project/FileIndexManager");
    require("file/NativeFileSystem");
    require("file/NativeFileError");

Good call on checking network errors, I just checked the console and didn't see anything 🍔

@petetnt
Copy link
Collaborator Author

petetnt commented Oct 6, 2015

Fixed in #11787, ping @abose

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants
@abose @petetnt and others