Closed ebebbington closed 2 years ago
What:
Right now we have firefox and chrome tests, both test files are 99% the same. Combine test files into one by defining test cases inside a loop
Why:
Test files are 99% the same, thus duplicating a tonne of a logic, this could be solved by looping through each browser typr
How:
Pserudo code impl
// tests/unit/client_test.ts ["firefox", "chrome"].forEach(type => { Deno.test (type + " goTo() ) => {} ) })
done as part of #91
Summary
What:
Right now we have firefox and chrome tests, both test files are 99% the same. Combine test files into one by defining test cases inside a loop
Why:
Test files are 99% the same, thus duplicating a tonne of a logic, this could be solved by looping through each browser typr
How:
Pserudo code impl