MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / error

Method error

test/test.js:84–91  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

82 }
83
84 error (text) {
85 if ( ! this.#softFail ) {
86 failedTests.add(this.#title)
87 }
88 process.exitCode = 1
89 this.#didFail = true
90 this.#addStep(L_ERR, text)
91 }
92
93 #getDisplayLine(step, color = true) {
94 const spacer = step.preFmt ? '' : !color ? '- ' : c.gray(' -- ')

Callers 15

setFunction · 0.45
cnFunction · 0.45
constructorMethod · 0.45
getModMethod · 0.45
util_lib.jsFile · 0.45
ft_normalizeNameFunction · 0.45
outdated-deps.jsFile · 0.45
test.jsFile · 0.45
testFileFunction · 0.45
testerFunction · 0.45
checkLangsFunction · 0.45

Calls 2

#addStepMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected