Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Typescript + angular2 #9

Open
mariohmol opened this issue Nov 21, 2016 · 1 comment
Open

Typescript + angular2 #9

mariohmol opened this issue Nov 21, 2016 · 1 comment

Comments

@mariohmol
Copy link

mariohmol commented Nov 21, 2016

Hi there,

i'm trying to make a small test in a app using meteor and angular as frontend.

I started this app based on the clone of whatsapp.

Now i'm having this error, but i dont know how to fix it.

What i have in this project

  • api folder i have meteor
  • app i have angular2 client
  • test a small test script

Any ideas?

mocha --opts mocha.opts


/Users/mariohmol/projetos/brigadistas/node_modules/ts-node/dist/index.js:160
                    throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset));
                    ^
TSError: ⨯ Unable to compile TypeScript
test/app.test.ts (21,20): Cannot find module 'meteor/practicalmeteor:chai'. (2307)
test/app.test.ts (22,21): Cannot find module 'meteor/practicalmeteor:sinon'. (2307)
@HungryDinosaur
Copy link

Hi @mariohmol, did you find a solution for this? I haven't been able to find a types definition for this module and don't really want to write my own.

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

No branches or pull requests

2 participants