Skip to content

Commit b108528

Browse files
committed
make module structure
1 parent dbf27b5 commit b108528

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ One test is failing on purpose as a demo of BrowserStack catching bugs in differ
1616
- You can further customize configuration in karma.conf.js. For detailed reference, visit karma-browserstack-launcher github repository [here].
1717

1818
###Sample test
19-
- To run: `karma start`
19+
- To run: `npm install` to install all dependencies
20+
- Run `node_modules/karma/bin/karma start` to start karma testing
2021

2122
###Note
2223
- IE 6 and 7 Tests on Karma version 0.13 may fail(output - browser not captured).

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "karma-browserstack-example",
3+
"version": "1.0.0",
4+
"description": "Sample To test Karma with BrowserStack",
5+
"main": "karma.conf.js",
6+
"directories": {
7+
"test": "tests"
8+
},
9+
"scripts": {
10+
"test": "karma start"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "git+https://github.com/browserstack/karma-browserstack-example.git"
15+
},
16+
"author": "",
17+
"license": "MIT",
18+
"bugs": {
19+
"url": "https://github.com/browserstack/karma-browserstack-example/issues"
20+
},
21+
"homepage": "https://github.com/browserstack/karma-browserstack-example#readme",
22+
"dependencies": {
23+
"karma": "^0.13.11",
24+
"karma-browserstack-launcher": "^0.1.5",
25+
"karma-qunit": "^0.1.5",
26+
"qunit": "^0.7.7",
27+
"qunitjs": "^1.19.0"
28+
}
29+
}

0 commit comments

Comments
 (0)