searls/jasmine-maven-plugin — Issue #62: "com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter error" when running jasmin:test
Author: prystupa
Created: 2012-01-25 15:47:34+00:00
State: open

I have a vendor dependency in my code under tests, namely 'jade'. To have jade available during the tests I include it in my pom:

```XML

javascripts/libs/jade.js

```

Just including this dependency causes my otherwise passing tests to fail with:

```
[INFO] Executing Jasmine Specs
Jan 25, 2012 10:31:59 AM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter error
SEVERE: error: message=[invalid property id] sourceName=[file:/Users/eprystupa/dev/gs-marquee-poc/node-web/target/jasmine/src/javascripts/libs/jade.js] line=[1255] lineSource=[ case: function() {] lineOffset=[7]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.969s
[INFO] Finished at: Wed Jan 25 10:31:59 EST 2012
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------

```

So, it looks like jasmine forces lint validation on the vendor js file which I have no control over. Is there a way to turn this validation off?

Thanks!