Skip to content

4kochi/angular_websocket_karma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular + Socket.io + karma

This is a demo app to show a problem with running e2e tests in karma with an angular app using socket.io.

When running the angular scenario tests via the runner.html in the browser, the tests work. When running the angular scenario tests via grunt and karma, the tests don't work.

Install

git clone git@github.com:4kochi/angular_websocket_karma.git
cd angular_websocket_karma
npm install

Start app

node app.js

Run the e2e test in the browser

http://localhost:3000/test

Run the e2e test fom grunt

grunt

About

This is a demo app to show a problem with running e2e tests in karma with an angular app using socket.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published