mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 19:55:08 -06:00
remove outdated tests
This commit is contained in:
parent
f479279217
commit
2db0054444
@ -1,9 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
/////*1a*/ex/*2a*/port def/*3a*//*3b*/ault functio/*2b*/n f() {}/*1b*/
|
||||
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select(m + "a", m + "b");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert export", "Convert default export to named export");
|
||||
}
|
||||
@ -1,9 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
/////*1a*/ex/*2a*/port f/*3a*//*3b*/unctio/*2b*/n f() {}/*1b*/
|
||||
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select(m + "a", m + "b");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert export", "Convert named export to default export");
|
||||
}
|
||||
@ -1,9 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
/////*1a*/im/*2a*/port { /*3a*//*3b*/x, y as z, T } fro/*2b*/m "m";/*1b*/
|
||||
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select(m + "a", m + "b");
|
||||
verify.refactorAvailableForTriggerReason("invoked", "Convert import", "Convert named imports to namespace import");
|
||||
}
|
||||
@ -1,9 +0,0 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
/////*1a*/im/*2a*/port * as /*3a*//*3b*/m from "m/*2b*/";/*1b*/
|
||||
|
||||
// verify that the refactor is offered for full, partial, and empty spans.
|
||||
for (const m of ["1", "2", "3"]) {
|
||||
goTo.select(m + "a", m + "b");
|
||||
verify.refactorAvailableForTriggerReason("invoked","Convert import", "Convert namespace import to named imports");
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user