Skip to content

Commit bd3e45b

Browse files
committed
Add a jasmine 2.0 repo for testing
1 parent d2b3831 commit bd3e45b

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "tests/external-repos/mout"]
1111
path = tests/external-repos/mout
1212
url = https://github.com/browserstack/mout
13+
[submodule "tests/external-repos/Comparatorsjs"]
14+
path = tests/external-repos/Comparatorsjs
15+
url = https://github.com/spencerwi/Comparators.js.git

tests/conf/Comparatorsjs.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"username": "BROWSERSTACK_USERNAME",
3+
"key": "BROWSERSTACK_KEY",
4+
"test_path": "comparators.spec-runner.html",
5+
"test_framework": "jasmine2",
6+
"debug": true,
7+
"browsers": [
8+
]
9+
}

tests/external-repos/Comparatorsjs

Submodule Comparatorsjs added at 45e3798

tests/test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,16 @@ def jasmine
6464
run_project("mout", "jasmine", ["978 of 978 passed"], "tests/runner.html")
6565
end
6666

67+
def jasmine2
68+
run_project("Comparatorsjs", "jasmine2", ["6 of 6 passed"], "comparators.spec-runner.html")
69+
end
70+
6771
def run
6872
execute("cd #{RUNNER_DIR} && git submodule init && git submodule update")
6973
qunit
7074
mocha
7175
jasmine
76+
jasmine2
7277
end
7378
end
7479

0 commit comments

Comments
 (0)