You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by Lewis John Mcgibbney <le...@gmail.com> on 2014/05/09 01:47:43 UTC

Cannot Run OCW-UI Jasmine Test Suite

Hi Folks,
As above

LMC-032857:scripts lmcgibbn$ ./test.sh

Starting Karma Server
-------------------------------------------------------------------
ERROR [config]: Invalid config file!
  ReferenceError: JASMINE is not defined
    at Object.<anonymous>
(/usr/local/apache/climate/ocw-ui/frontend/config/karma.conf.js:22:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.parseConfig
(/usr/local/lib/node_modules/karma/lib/config.js:250:22)
    at Object.exports.start
(/usr/local/lib/node_modules/karma/lib/server.js:278:20)
    at Object.exports.run
(/usr/local/lib/node_modules/karma/lib/cli.js:224:25)

Any ideas how I can define JASMINE?

-- 
*Lewis*

Re: Cannot Run OCW-UI Jasmine Test Suite

Posted by Michael Joyce <jo...@apache.org>.
Want to feed some F2F discussion back to the list. Lewis and I tried to
debug this a bit and it seems that the new(er) versions of Karma have
changed their config layouts. Lewis plans to look at this further and see
if we can get the config problems sorted.

Cheers


-- Joyce


On Mon, May 12, 2014 at 7:50 AM, Cameron Goodale <si...@gmail.com> wrote:

> Lewis,
>
> I think that Jasmine is a javascript testing framework that Karma might be
> using under the hood.  I haven't really be involved in the development of
> the ocw-ui components, but that might help.
>
> Cheers,
>
> Cam
>
>
> On Thu, May 8, 2014 at 4:47 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
> > Hi Folks,
> > As above
> >
> > LMC-032857:scripts lmcgibbn$ ./test.sh
> >
> > Starting Karma Server
> > -------------------------------------------------------------------
> > ERROR [config]: Invalid config file!
> >   ReferenceError: JASMINE is not defined
> >     at Object.<anonymous>
> > (/usr/local/apache/climate/ocw-ui/frontend/config/karma.conf.js:22:3)
> >     at Module._compile (module.js:456:26)
> >     at Object.Module._extensions..js (module.js:474:10)
> >     at Module.load (module.js:356:32)
> >     at Function.Module._load (module.js:312:12)
> >     at Module.require (module.js:364:17)
> >     at require (module.js:380:17)
> >     at Object.parseConfig
> > (/usr/local/lib/node_modules/karma/lib/config.js:250:22)
> >     at Object.exports.start
> > (/usr/local/lib/node_modules/karma/lib/server.js:278:20)
> >     at Object.exports.run
> > (/usr/local/lib/node_modules/karma/lib/cli.js:224:25)
> >
> > Any ideas how I can define JASMINE?
> >
> > --
> > *Lewis*
> >
>
>
>
> --
>
> Sent from a Tin Can attached to a String
>

Re: Cannot Run OCW-UI Jasmine Test Suite

Posted by Cameron Goodale <si...@gmail.com>.
Lewis,

I think that Jasmine is a javascript testing framework that Karma might be
using under the hood.  I haven't really be involved in the development of
the ocw-ui components, but that might help.

Cheers,

Cam


On Thu, May 8, 2014 at 4:47 PM, Lewis John Mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Hi Folks,
> As above
>
> LMC-032857:scripts lmcgibbn$ ./test.sh
>
> Starting Karma Server
> -------------------------------------------------------------------
> ERROR [config]: Invalid config file!
>   ReferenceError: JASMINE is not defined
>     at Object.<anonymous>
> (/usr/local/apache/climate/ocw-ui/frontend/config/karma.conf.js:22:3)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Module.require (module.js:364:17)
>     at require (module.js:380:17)
>     at Object.parseConfig
> (/usr/local/lib/node_modules/karma/lib/config.js:250:22)
>     at Object.exports.start
> (/usr/local/lib/node_modules/karma/lib/server.js:278:20)
>     at Object.exports.run
> (/usr/local/lib/node_modules/karma/lib/cli.js:224:25)
>
> Any ideas how I can define JASMINE?
>
> --
> *Lewis*
>



-- 

Sent from a Tin Can attached to a String