Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

How to properly load dependencies from the spec #1

Open
bahmutov opened this issue May 31, 2016 · 0 comments
Open

How to properly load dependencies from the spec #1

bahmutov opened this issue May 31, 2016 · 0 comments
Labels

Comments

@bahmutov
Copy link
Contributor

If a user spec file needs to load a module, it cannot find due to the virtual spec file being evaluated in the wrong module as the parent (it thinks the parallel-protractor is the parent, not the actual spec)

// spec.js
var chai = require('chai');
@bahmutov bahmutov added the bug label May 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant