Commit ba78f7d
authored
Switch to web-test-runner (#214)
* Switch to web-test-runner
Reusing some of what I went through with the addons testing work, I
tried to use web-test-runner here as well. Even though we aren't using
web components here yet, this pattern still works quite nicely for
testing some complex browser integration style tests.
This uses WTR, Rollup for bundling for tests, and I've created two test
cases: I translated old tests to Chai/WTR, and a new test that mixes
HTML and JS, using WTR HTML tests.
* Remove unneeded hack
* Update CI config
* More CI config
* Some cleanup and formatting1 parent 0904780 commit ba78f7d
File tree
13 files changed
+5539
-214
lines changed- .circleci
- readthedocsext/theme/static/readthedocsext/theme/js
- src/js
- application
- gold
- tests
- plugins
13 files changed
+5539
-214
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | | - | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | | - | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| |||
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
38 | 53 | | |
39 | 54 | | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
44 | 59 | | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments