jstests/core/write_change_stream_pit_preimage.js
// Tests that pre-images are recorded correctly for both capped and non-capped collections.
Tests that pre-images are recorded correctly for both capped and non-capped collections.
Tests that pre - images are recorded correctly for both capped and non - capped collections .
function testPreImageRecording(modificationOps) {
    testPreImageRecordingInNonCappedCollection(modificationOps);
    testPreImageRecordingInCappedCollection(modificationOps);
}
function testPreImageRecording ( modificationOps ) { testPreImageRecordingInNonCappedCollection ( modificationOps ) ; testPreImageRecordingInCappedCollection ( modificationOps ) ; }
Tests that pre-images are recorded correctly for both capped and non-capped collections.
Tests that pre - images are recorded correctly for both capped and non - capped collections .
// Non-capped collection test. // Capped collection test.