Created
October 27, 2019 01:40
-
-
Save IntegerMan/2c944c95969adca62edc74d96487072a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var testCases = []; | |
var nextTestCaseId = 2; | |
class TestCase { | |
constructor(testCaseName, id) { | |
this.name = testCaseName; | |
this.isPassing = true; | |
this.id = id; | |
} | |
} | |
function buildInitialData() { | |
return [{ | |
name: 'The app should not crash on startup', | |
isPassing: true, | |
id: '1' | |
}]; | |
} | |
document.addEventListener("DOMContentLoaded", function() { | |
testCases = buildInitialData(); | |
updateTestCases(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment