Skip to content

Instantly share code, notes, and snippets.

@IntegerMan IntegerMan/Logic1.js
Created Oct 27, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.