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

ReferenceError: Can't find variable: define (Phantomjs + requirejs) #309

Open
deemu opened this issue Aug 28, 2013 · 0 comments
Open

ReferenceError: Can't find variable: define (Phantomjs + requirejs) #309

deemu opened this issue Aug 28, 2013 · 0 comments

Comments

@deemu
Copy link

deemu commented Aug 28, 2013

Hello,
We have implemented the Qunit for unit testing for our js script and using Aura as the framework.Test cases are executed and result are show in the browser.
I am getting the error "ReferenceError: Can't find variable: define" when running the test case on a single component .By running the below command in headless mode using phantomjs :

phantomjs main.js http:\ localhost:9032\index.html

I understand that its not able to resolve the dependencies in require.js .Please help me in solving this issue.

Thanks in Advance.

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

No branches or pull requests

1 participant