test(transpiler): add a cycle import spec

This commit is contained in:
Vojta Jina 2014-10-06 17:52:23 -07:00
parent 6efb7f9017
commit 38340ce8d9
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import {foo} from './cycle_spec';
export function cycle() {
return foo;
}

View File

@ -0,0 +1,13 @@
import {describe, it, expect} from 'test_lib/test_lib';
import {cycle} from './cycle';
export function main() {
describe('cycle', function() {
it('should work', function() {
expect(cycle()).toBe(true);
});
});
}
export var foo = true;