test(transpiler): add a cycle import spec
This commit is contained in:
parent
6efb7f9017
commit
38340ce8d9
|
@ -0,0 +1,5 @@
|
|||
import {foo} from './cycle_spec';
|
||||
|
||||
export function cycle() {
|
||||
return foo;
|
||||
}
|
|
@ -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;
|
||||
|
Loading…
Reference in New Issue