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

This commit is contained in:
John McLear 2021-09-14 15:25:40 +01:00 committed by Richard Hansen
parent 0f5a4bd1f8
commit b683dc300d

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));
});
});
}
});