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

Add more tests #25

Open
adorade opened this issue Jun 20, 2024 · 2 comments
Open

Add more tests #25

adorade opened this issue Jun 20, 2024 · 2 comments
Assignees
Labels

Comments

@adorade
Copy link
Owner

adorade commented Jun 20, 2024

Add more tests or update the existing ones. Since I might overlook something, I want to ensure that everything functions correctly.

For testing purposes, I will be using only Gulp v5.

@adorade adorade added the test label Jun 20, 2024
@adorade adorade self-assigned this Jun 20, 2024
@adorade
Copy link
Owner Author

adorade commented Aug 9, 2024

Add tests for the failAfterError option when it is not configured (default is true), and when it is explicitly set to true or false.

  • should not fail after emitting no errors
  • failAfterError is not configured
  • failAfterError is set to true
  • failAfterError is set to false

See #29

@adorade adorade linked a pull request Aug 9, 2024 that will close this issue
@adorade adorade removed a link to a pull request Aug 9, 2024
@adorade
Copy link
Owner Author

adorade commented Sep 30, 2024

Plugin Functionality

  • should not emit an error on buffered file
  • should ignore file
  • should fix the file without emitting errors

Fail after error

  • should FAIL after emitting an error if failAfterError is not configured
  • should FAIL after emitting an error if failAfterError is set to true

Sourcemap Handling

  • should emit no errors when stylelint rules are satisfied
  • should apply sourcemaps correctly when using a custom sourcemap file
  • should ignore sourcemaps with no sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant