Skip to content

Commit

Permalink
test: pre-serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Feb 13, 2024
1 parent c1d702a commit 8154efc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/telemetry/test/test-flight-recorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ const bufferTests = test.macro(

const { done: done2 } = readCircBuf(len1, offset);
t.assert(done2, `readCircBuf ${last} should be done`);

slogSender(null, 'PRE-SERIALIZED');
await slogSender.forceFlush();
t.truthy(fs.readFileSync(tmpFile).includes('PRE-SERIALIZED'));
// console.log({ tmpFile });
removeCallback();
},
Expand Down

0 comments on commit 8154efc

Please sign in to comment.