mknabe / angular-testing-starter Goto Github PK
View Code? Open in Web Editor NEWUse to set up Karma and Protractor for testing with AngularJS
Use to set up Karma and Protractor for testing with AngularJS
When I run grunt test, I receive the error Cannot find module "'app/mockApi/apiserver.js'".
There is not mockApi folder in App.
performed the following
git clone <project_name>
sudo npm install
grunt e2e-test
Output :
$ grunt e2e-test
Running "connect:test" (connect) task
Started connect web server on 127.0.0.1:9000.
Running "protractor:continuous" (protractor) task
~angular-testing-starter/node_modules/protractor/lib/driverProviders/local.dp.js:42
throw new Error('Could not find chromedriver at ' +
^
Error: Could not find chromedriver at ~angular-testing-starter/node_modules/protractor/selenium/chromedriver.exe
at LocalDriverProvider.addDefaultBinaryLocs_ (~angular-testing-starter/node_modules/protractor/lib/driverProviders/local.dp.js:42:15)
at LocalDriverProvider.setupEnv (~angular-testing-starter/node_modules/protractor/lib/driverProviders/local.dp.js:59:8)
at Runner.run (~angular-testing-starter/node_modules/protractor/lib/runner.js:378:31)
at Object.init (~angular-testing-starter/node_modules/protractor/lib/launcher.js:130:12)
at Object.<anonymous> (~angular-testing-starter/node_modules/protractor/lib/cli.js:118:23)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
>>
>> Test failed but keep the grunt process alive.
Running "watch:protractor" (watch) task
Waiting...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.