You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
401 B

6 years ago
open TestFramework;
describe("Smoke test", ({test}) => {
test("Tests run!", ({expect}) =>
expect.int(1).toBe(1)
);
test("Get version", ({expect}) => {
let version = run([|"--version"|]);
expect.string(version).toMatch("^[0-9]+.[0-9]+.[0-9]+$");
});
test("env", ({expect}) => {
let env = run([|"env"|]) |> redactSfwRoot;
expect.string(env).toMatchSnapshot();
});
});