forked from MapComplete/MapComplete
Fix #343, add the poss^Cility to use the test backend (WIP), improve testability of OsmConnection (WIP)
This commit is contained in:
parent
8d404b1ba9
commit
9458128ccf
7 changed files with 138 additions and 42 deletions
|
@ -1,8 +1,10 @@
|
|||
export default class T {
|
||||
|
||||
public readonly failures = []
|
||||
public readonly failures : string[] = []
|
||||
public readonly name : string;
|
||||
|
||||
constructor(testsuite: string, tests: [string, () => void][]) {
|
||||
this.name = testsuite
|
||||
for (const [name, test] of tests) {
|
||||
try {
|
||||
test();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue