@webda/shell
Version:
Deploy a Webda app or configure it
32 lines (31 loc) • 887 B
TypeScript
import { CachedModule } from "@webda/core";
import { SourceApplication } from "./code/sourceapplication.js";
export declare class SourceTestApplication extends SourceApplication {
/**
* Only allow local and core module and sample-app
*/
filterModule(filename: string): boolean;
/**
* Load a webda.module.json file
* Resolve the linked file to current application
*
* @param moduleFile to load
* @returns
*/
loadWebdaModule(moduleFile: string): CachedModule;
/**
* Add our test services
* @returns
*/
load(): Promise<this>;
}
export declare const WebdaSampleApplication: SourceTestApplication;
/**
* Test the sample application
*/
export declare class SampleApplicationTest {
baseUrl: string;
constructor(url: string);
testApi(noCsrf?: number): Promise<void>;
testStatic(): Promise<void>;
}