update tests

This commit is contained in:
Sebastian McKenzie
2015-11-02 07:11:12 +00:00
parent 80dfe05ffc
commit 7a3fef26fa
4 changed files with 4 additions and 3 deletions

View File

@@ -534,7 +534,7 @@ export default class File extends Store {
if (this.shebang) {
// add back shebang
result.code = `${this.shebang}\n${result.code.trimLeft()}`;
result.code = `${this.shebang}\n${result.code}`;
}
if (result.map) {

View File

@@ -1,7 +1,7 @@
class Foo {
foo() {
return babelHelpers.asyncToGenerator(function* () {
var wat = await bar();
var wat = yield bar();
})();
}
}

View File

@@ -2,7 +2,7 @@ import { coroutine as _coroutine } from "bluebird";
class Foo {
foo() {
return _coroutine(function* () {
var wat = await bar();
var wat = yield bar();
})();
}
}

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env node
foobar();