mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
use verify trigger reason for import export
This commit is contained in:
parent
96f210c1c8
commit
fbf6737ae2
@ -5,5 +5,5 @@
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select("a" + m, "b" + m);
|
||||
verify.refactorAvailable("Convert export", "Convert default export to named export");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert export", "Convert default export to named export");
|
||||
}
|
||||
|
||||
@ -5,5 +5,5 @@
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select("a" + m, "b" + m);
|
||||
verify.refactorAvailable("Convert export", "Convert named export to default export");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert export", "Convert named export to default export");
|
||||
}
|
||||
|
||||
@ -5,5 +5,5 @@
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select("a" + m, "b" + m);
|
||||
verify.refactorAvailable("Convert import", "Convert named imports to namespace import");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert import", "Convert named imports to namespace import");
|
||||
}
|
||||
|
||||
@ -5,6 +5,5 @@
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select("a" + m, "b" + m);
|
||||
verify.refactorAvailable("Convert import", "Convert namespace import to named imports");
|
||||
verify.refactorAvailableForTriggerReason("invoked","Convert import", "Convert namespace import to named imports");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user