import test from 'blue-tape';

test('This should pass', (assert) => {
  assert.equal('Hello world', 'Hello world');
  assert.end();
});

@@ -28,30 +28,345 @@
 ';%0A%0A
-test('This should pass
+const before = test;%0Aconst after = test;%0Aconst TEMP_DIR = '.tmp/tests/cli';%0Aconst ORIGINAL_DIR = '../../../';%0Aconst FLINT_CLI_PATH = '../../../packages/cli/entry/flint'; // relative to TEMP_DIR%0A%0Abefore('cli test setup', (assert) =%3E %7B%0A  shell.mkdir('-p', TEMP_DIR);%0A  shell.cd(TEMP_DIR);%0A  assert.end();%0A%7D);%0A%0Atest('Creates a new flint app
 ', (
@@ -397,36 +397,323 @@
 ual(
-'Hello world', 'Hello world'
+shell.exec(FLINT_CLI_PATH + ' new appname').code, 0);%0A  assert.ok(shell.test('-d', './appname'));%0A  assert.ok(shell.test('-f', './appname/main.js'));%0A  assert.ok(shell.test('-d', './appname/.flint'));%0A  assert.end();%0A%7D);%0A%0Aafter('cli test teardown', (assert) =%3E %7B%0A  shell.cd(ORIGINAL_DIR);%0A  shell.rm('-rf', TEMP_DIR
 );%0A 

add test for `flint new` cmd