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
413 B

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