Skip to content

Conversation

nefrob
Copy link
Owner

@nefrob nefrob commented May 17, 2024

Description:

  • Adds vscode-tmgrammar-test dependency for simple snapshot testing without modifying test files (tests will be improve in the future)

Testing/Screenshots:

Skipping resolving the embedded language validation for now.

➜ j test    
docker compose run --rm dev /bin/sh -c "yarn vscode-tmgrammar-snap tests/* "
yarn run v1.22.19
warning package.json: No license field
warning vscode-just-syntax@0.2.1: The engine "vscode" appears to be invalid.
$ /code/node_modules/.bin/vscode-tmgrammar-snap tests/builtins.just tests/builtins.just.snap tests/conditionals.just tests/conditionals.just.snap tests/embedded.just tests/embedded.just.snap tests/escaping.just tests/escaping.just.snap tests/general.just tests/general.just.snap tests/recipes.just tests/recipes.just.snap tests/strings.just tests/strings.just.snap tests/variables.just tests/variables.just.snap
grammar not found for "source.shell"
grammar not found for "source.js"
grammar not found for "source.perl"
grammar not found for "source.python"
grammar not found for "source.ruby"
✓ tests/builtins.just run successfully.
✓ tests/conditionals.just run successfully.
✓ tests/embedded.just run successfully.
✓ tests/escaping.just run successfully.
✓ tests/general.just run successfully.
✓ tests/recipes.just run successfully.
✓ tests/strings.just run successfully.
✓ tests/variables.just run successfully.
Done in 0.14s.

@nefrob nefrob mentioned this pull request May 17, 2024
@nefrob nefrob merged commit bc296cf into main May 19, 2024
@nefrob nefrob deleted the nefrob/testing branch May 19, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant