Fixed the preferences test
MODIFY
test/unit/__snapshots__/pad.test.ts.snap
test/unit/__snapshots__/pad.test.ts.snap
exports[`notepad runs 1`] = `
<table
style="padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;"
+>
+ <tr>
+ <input
+ style="font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;text-indent: 0em;"
+ type="text"
/>
+ </tr>
+</table>
`;
exports[`notepad status area ... 1`] = `
<table
style="padding: 1em; overflow: auto; resize: horizontal; min-width: 40em;"
+>
+ <tr>
+ <input
+ style="font-size: 100%; font-family: monospace; width: 100%; border: none; white-space: pre-wrap;text-indent: 0em;"
+ type="text"
/>
+ </tr>
+</table>
`;

MODIFY
test/unit/preferences.test.ts
test/unit/preferences.test.ts
@@ -58,7 +58,7 @@ describe('Preferences.recordSharedPreferences', () => {
it('runs', () => {
const subject = null
const context = null
- expect(Preferences.recordSharedPreferences(subject, context).then())
+ expect(Preferences.recordSharedPreferences(subject, context)).toBeTruthy()
})
})

Fixed the preferences test