Closed cedpeters closed 4 years ago
The testrun constructor (https://github.com/GoogleCloudPlatform/flaky-service/blob/master/packages/api/lib/testrun.js) accepts a string, which is either ok or not ok, and then immediately converts it into a boolean. Fix it so that it just accepts a boolean in the first place. This will involve changing all the places where the constructor is called.
testrun
ok
not ok
The
testrun
constructor (https://github.com/GoogleCloudPlatform/flaky-service/blob/master/packages/api/lib/testrun.js) accepts a string, which is eitherok
ornot ok
, and then immediately converts it into a boolean. Fix it so that it just accepts a boolean in the first place. This will involve changing all the places where the constructor is called.