Cook
subscribeToEngineStateChange
Use this method to subscribe to engine state event changes when working with tests in plugin-core
. This can be used in situations where the engine state changes asynchorously from test logic (such as from vscode event callbacks)
Upating the cursor position
- see this
Creating notes after engine is started
If your test cases involve creating notes that cannot be done in the hooks of describeSingleWS
, use NoteTestUtilsV4.createNoteWithEngine
or CreateNoteFactory.createWithEngine
in the test methods themselves
- see this
check if you are running in test mode
getStage() === test
Backlinks