MCPcopy Create free account
hub / github.com/codecombat/codecombat / getRenderData

Method getRenderData

app/views/TestView.js:104–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 // RENDER DATA
103
104 getRenderData () {
105 const c = super.getRenderData(...arguments)
106 c.parentFolders = requireUtils.getParentFolders(this.subPath, TEST_URL_PREFIX)
107 c.children = requireUtils.parseImmediateChildren(this.specFiles, this.subPath, TEST_REQUIRE_PREFIX, TEST_URL_PREFIX)
108 const parts = this.subPath.split('/')
109 c.currentFolder = parts[parts.length - 1] || parts[parts.length - 2] || 'All'
110 return c
111 }
112
113 // RUNNING TESTS
114

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected