practicalmeteor / meteor-chai

Depreciated - Chai.JS, wrapped for meteor
https://atmospherejs.com/practicalmeteor/chai
Other
0 stars 10 forks source link

Typescript + angular2 #9

Open mariohmol opened 8 years ago

mariohmol commented 8 years ago

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

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 commented 7 years ago

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.