This repository was archived by the owner on Dec 15, 2020. It is now read-only.
Commit a267be7
committed
Run QUnit tests using Karma runner
This includes several changes:
- custom home-brew test runner is removed in favour of
using Karma runner.
- more modern versions of jquery and qunit are used, and
installed using npm, instead of including copies of
libs in the git repo. jquery is only used to have access
to $.extend, and it also works in jquery 3 without changes
to our code!
- QUnit-parameterize has no public version (neither official
npm package neither custom in-house fork used so far) that
works with QUnit 2, so it has been dropped too. Changes to
tests are not significant due to small size of the library.
All previously tested behaviour is still tested.
- RequireJS, only used for tests, is no longer used,
Karma config specifies dependencies for tests to run.
- QUnit tests are run as part of npm test. Bash build script
is removed.1 parent 9c6a237 commit a267be7
File tree
18 files changed
+98
-3097
lines changed- build/travis
- js
- lib
- TestRunner
- jquery
- qunit.parameterize
- qunit
- require
- tests/qunit
- dataTypes
18 files changed
+98
-3097
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments