Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for Angular 2 #28

Open
dylans opened this issue Jan 27, 2016 · 1 comment
Open

Add example for Angular 2 #28

dylans opened this issue Jan 27, 2016 · 1 comment
Assignees

Comments

@dylans
Copy link
Contributor

dylans commented Jan 27, 2016

No description provided.

@dylans dylans self-assigned this Jan 27, 2016
@LiTiang
Copy link

LiTiang commented Mar 9, 2016

I try to use intern with Angular 2.
The environment i built seems work perfect.
But I have only question

The module format I want to use is system.
( setting value of module to system in tsconfig.json )

All of my app are written to Typescript,
the only Javascript file is intern.js ( I dont use intern.ts for some reason )

intern.js is AMD format, and i change loader to systemjs in it,
because the module format of my Angular2 app are all system.

After transpile all my app, ( .ts -> .js )
we can see the beginning of any one of the app ( .js file ) is

System.register( ...

But if i run test,
it emit an error System is not defined on command line.
It seems intern cannot identify system module.

I have no idea, and try to find the answer.
Please help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants