Commit 16611be
committed
test: update getSassImplementation call sites to new 1-arg signature
The `loaderContext` parameter was removed from `getSassImplementation`
in 0f6dcd5 (it was unused). The implementation-option tests still
called it with the old `({}, undefined)` 2-arg form, which made `{}`
look like a valid implementation, hit the `else` branch of the
type-narrow, and threw "Unknown Sass implementation." before reaching
the actual assertion paths in:
- should try to load using valid order
- should not swallow an error when trying to load a sass implementation
Drop the no-op first argument so both tests exercise the intended
behavior again.
https://claude.ai/code/session_01UgvxAaf3W9xymtJRAyk7QB1 parent 42fb307 commit 16611be
2 files changed
Lines changed: 2 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
0 commit comments