UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

29 lines (28 loc) 1.29 kB
import AbstractSpruceTest from '@sprucelabs/test-utils'; export default class StaticToInstanceTestFileMigratorTest extends AbstractSpruceTest { private migrator; protected throwsWithMissing(): void; protected returnsEmptyString(): void; protected fixesStaticFunction(): void; protected fixesStaticAsyncFunctions(): void; protected doesNotMessWithStaticInVariableName(): void; protected addsSuiteDecoratorToClassIfNotThere(): void; protected doesNotAddSuitIfAnotherClassExported(): void; protected doesNotAddSuiteIfAlreadyThere(): void; protected addsImportIfNotThere(): void; protected doesNotMessWithAnythingWithTestInName(): void; protected doesNoIncludeSuiteTwice(): void; protected includesSuiteEvenIfSuiteIsInAMethodName(): void; protected includesSuiteWithMultipleImports(): void; protected canMigrateWholeTest(): void; protected properlyMigrationsAbstractTests(): void; protected properlyMigrationsAbstractTests2(): void; protected canMigrateMoreComplexTest(): void; protected canMigrateAnotherComplexTest(): void; protected canMigrateAnotherComplexTest2(): void; private readTestFile; private resolveTestClassPath; private assertMigratedEquals; private cleanString; private migrate; }