Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#9): added tests for setup #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlejandroSuero
Copy link
Contributor

@AlejandroSuero AlejandroSuero commented May 14, 2024

Added files to test if freeze.nvim sets up correctly, as mentioned in #9.

  • creates user commands
  • sets up with default config
  • sets up with custom config
  • freezes an entire file
  • freezes a range of a file
  • freezes a line of a file

Created Makefile for make test, make test-nvim and make test-all (to use both).

feat(tests): added `Makefile` for easy to spawn tests

ci(test): added workflow for testing

fix: ensure `freeze.setup()` sets up default config

feat: added mocked file to test `freeze` command

feat: added tests for `freeze` command

fix: made the changes to work properly under every condition

fix: deleted workflow

As mentioned by @ethanholz in ethanholz#9
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