MCPcopy
hub / github.com/commitizen/cz-cli / afterEach

Function afterEach

test/tools/clean.js:20–25  ·  view source on GitHub ↗
(tmpPath, preserve)

Source from the content-addressed store, hash-verified

18}
19
20function afterEach (tmpPath, preserve) {
21 if (preserve !== false) {
22 archive(tmpPath, testSuiteRunId);
23 }
24 cleanPath(tmpPath);
25}
26
27// After should listen to the user via the config
28// Before should always purge .tmp irregardless of config

Callers 4

commit.jsFile · 0.85
init.jsFile · 0.85
adapter.jsFile · 0.85
staging.jsFile · 0.85

Calls 2

archiveFunction · 0.85
cleanPathFunction · 0.85

Tested by

no test coverage detected