Commit 252902d
Max Schaefer
JavaScript: Restructure API-graph tests.
With the old test runner we cannot have `VerifyAssertions.qlref`s for each individual test that reference a shared `VerifyAssertions.ql` in the parent directory, since it doesn't like nested tests.
Instead, we have to turn `VerifyAssertions.ql` into `VerifyAssertions.qll`, and each `VerifyAsssertions.qlref` into a `VerifyAssertions.ql` that imports it.
But then that doesn't work with our old directory structure, since the import path would have to contain the invalid identifier `library-tests`. As a workaround, I have moved the API graph tests into a directory without dashes in its path.1 parent cb433a0 commit 252902d
91 files changed
Lines changed: 26 additions & 31 deletions
File tree
- javascript/ql/test
- ApiGraphs
- argprops
- async-await
- branching-flow
- classes
- ctor-arg
- custom-entry-point
- cyclic
- dynamic-prop-read
- imprecise-export
- imprecision
- namespaced-package
- nested-property-export
- nonlocal
- promises
- reexport
- lib
- return-self
- typed
- library-tests/ApiGraphs
- argprops
- async-await
- branching-flow
- classes
- ctor-arg
- custom-entry-point
- cyclic
- dynamic-prop-read
- imprecise-export
- imprecision
- namespaced-package
- nested-property-export
- nonlocal
- promises
- reexport
- return-self
- typed
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 23 | | |
32 | 24 | | |
33 | 25 | | |
| |||
122 | 114 | | |
123 | 115 | | |
124 | 116 | | |
125 | | - | |
126 | | - | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
File renamed without changes.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments