visual studio code - How to access the editor in vscode tests -


i creating extension vscode reformats part of editor text.

how can make test this.

i can't figure how create texteditor inside test simulate opened file.

you should able open vs code test file.

see document: https://code.visualstudio.com/docs/extensions/testing-extensions

not sure if can test against looking though. might able check errors, rather test "is ui element here?"


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

How to merge four videos on one screen with ffmpeg -