MCPcopy Create free account
hub / github.com/nodejs/node / serializeWithoutEscape

Method serializeWithoutEscape

lib/internal/test_runner/snapshot.js:170–176  ·  view source on GitHub ↗
(input, serializers = serializerFns)

Source from the content-addressed store, hash-verified

168 }
169
170 serializeWithoutEscape(input, serializers = serializerFns) {
171 try {
172 return serializeValue(input, serializers);
173 } catch (err) {
174 throwSerializationError(input, err);
175 }
176 }
177
178 writeSnapshotFiles() {
179 if (!this.updateSnapshots) {

Callers 1

createFileAssertMethod · 0.80

Calls 2

serializeValueFunction · 0.85
throwSerializationErrorFunction · 0.85

Tested by

no test coverage detected