tests: Check for leak of read-write pad ID when exporting

pull/5096/head
John McLear 2021-09-14 15:25:40 +01:00 committed by Richard Hansen
parent 0f5a4bd1f8
commit b683dc300d
1 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,10 @@ describe(__filename, function () {
it('export OK', async function () {
assert.match(text, /This is the/);
});
it('writable pad ID is not leaked', async function () {
assert(!text.includes(testPadId));
});
});
}
});