Commit be62645
chore: cover same-dir import map auto-import alias (#34645)
Adds LSP regression coverage for auto-import completions when an import
map alias points at the same directory as the referrer, such as `$src/`:
`./src/`. The test verifies that resolving the completion inserts the
import-map alias instead of regressing to only the relative path.
Also removes an unused HTTP test server fixture from the adjacent
passthrough import-map test so it does not depend on fixed test-server
ports.
Closes denoland/divybot#382
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>1 parent 453eaf6 commit be62645
1 file changed
Lines changed: 54 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10569 | 10569 | | |
10570 | 10570 | | |
10571 | 10571 | | |
10572 | | - | |
10573 | | - | |
10574 | | - | |
10575 | | - | |
| 10572 | + | |
10576 | 10573 | | |
10577 | 10574 | | |
10578 | 10575 | | |
| |||
10622 | 10619 | | |
10623 | 10620 | | |
10624 | 10621 | | |
| 10622 | + | |
| 10623 | + | |
| 10624 | + | |
| 10625 | + | |
| 10626 | + | |
| 10627 | + | |
| 10628 | + | |
| 10629 | + | |
| 10630 | + | |
| 10631 | + | |
| 10632 | + | |
| 10633 | + | |
| 10634 | + | |
| 10635 | + | |
| 10636 | + | |
| 10637 | + | |
| 10638 | + | |
| 10639 | + | |
| 10640 | + | |
| 10641 | + | |
| 10642 | + | |
| 10643 | + | |
| 10644 | + | |
| 10645 | + | |
| 10646 | + | |
| 10647 | + | |
| 10648 | + | |
| 10649 | + | |
| 10650 | + | |
| 10651 | + | |
| 10652 | + | |
| 10653 | + | |
| 10654 | + | |
| 10655 | + | |
| 10656 | + | |
| 10657 | + | |
| 10658 | + | |
| 10659 | + | |
| 10660 | + | |
| 10661 | + | |
| 10662 | + | |
| 10663 | + | |
| 10664 | + | |
| 10665 | + | |
| 10666 | + | |
| 10667 | + | |
| 10668 | + | |
| 10669 | + | |
| 10670 | + | |
| 10671 | + | |
| 10672 | + | |
| 10673 | + | |
| 10674 | + | |
10625 | 10675 | | |
10626 | 10676 | | |
10627 | 10677 | | |
| |||
0 commit comments