mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
15 lines
385 B
TypeScript
15 lines
385 B
TypeScript
import tests = require("../testRunner");
|
|
import trace = require("trace");
|
|
import {Page} from "ui/page";
|
|
import {GridLayout} from "ui/layouts/grid-layout";
|
|
|
|
trace.enable();
|
|
trace.addCategories(trace.categories.Test + "," + trace.categories.Error);
|
|
|
|
export function createPage() {
|
|
tests.runAll();
|
|
|
|
var page = new Page();
|
|
page.content = new GridLayout();
|
|
return page;
|
|
} |