Writing typescript modules and testing with Karma -
i struggling find nice way write typescript modules, output in sensible way , test karma wants global instances , doesn't support module loading out of box.
so cannot write module , consume in karma without first wrapping in wepback/browserify etc bloats output quite lot.
i have tried using typescript pre-processor , seemed more writing tests in ts, rather consuming ts files dependencies. tried requirejs karma module reason failed resolve dependencies not work.
so has got workflow works?
Comments
Post a Comment