Search code examples
ember.jsember-dataember-app-kit

Ember App Kit Tests with ember-data


I'm importing ember-data into the public/index.html file, and my application works well. I did notice JSLint complaining that

 'DS' is not defined.

This morning I tried to write some tests, and noticed the testrunner also complaining that

Uncaught ReferenceError: DS is not defined

How to I get around this?


Solution

  • Do you need a

    "predef": [
        "DS",
        ...
    ]
    

    in your .jshintrc?