MCPcopy Index your code
hub / github.com/nodejs/node / writeSnapshotFiles

Method writeSnapshotFiles

lib/internal/test_runner/snapshot.js:178–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 }
177
178 writeSnapshotFiles() {
179 if (!this.updateSnapshots) {
180 debug('skipping write of snapshot files');
181 return;
182 }
183
184 this.cache.forEach((snapshotFile) => {
185 snapshotFile.writeFile();
186 });
187 }
188
189 createAssert() {
190 const manager = this;

Callers 2

postRunMethod · 0.80

Calls 3

forEachMethod · 0.65
debugFunction · 0.50
writeFileMethod · 0.45

Tested by

no test coverage detected