-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refact npm run build with np, to get a better publish
- Loading branch information
Showing
6 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import IStrategy from './IStrategy'; | ||
import IStrategy from "./IStrategy"; | ||
export default class Context { | ||
private strategy; | ||
constructor(strategy: IStrategy); | ||
setStrategy(strategy: IStrategy): void; | ||
runTest(tsFile: string, jsFile: string): void; | ||
runTests(dir: String): void; | ||
runTsTestFiles(files: string[]): any; | ||
private _runTsTestFile; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
export declare function Debug(name?: string): any; | ||
export declare function DebugWith(key: String): any; | ||
export declare function get_closest_package_json(): any; | ||
export declare function getFiles(rest: any): string[]; | ||
export declare function getCompileFiles(testFiles: string[]): string[]; | ||
export declare function unique(arr: string[]): string[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
export declare function clearCache(): void; | ||
export declare function getAllTsFiles(dirs: string[]): any[]; | ||
export declare function getTsFiles(dir: string): {}; | ||
export declare function load(file: string): { | ||
export declare function loadFromDecorator(file: string): { | ||
clz_name: any; | ||
newClz: any; | ||
}; | ||
export declare function loadFromCache(file: string): Promise<{ | ||
clz_name: any; | ||
newClz: any; | ||
}>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import Context from './Context'; | ||
export declare function WatchDir(dirs: string[], context: Context): void; | ||
export declare function WatchFile(testFile: string, context: Context): void; | ||
import Context from "./Context"; | ||
export declare function WatchFiles(testFiles: string[], context: Context): void; |