Skip to content

Add information about changing the fixturesPath #13

@julkue

Description

@julkue

If you want to change the fixturesPath (default spec/javascripts/fixtures) like described in the documentation, you will not have any success with using:

jasmine.getFixtures().fixturesPath = 'my/new/path';

like described there. The reason is that you will need to add the files inside this path in the "files" object like:

files: [
  {
    pattern: 'my/new/path/*.html',
    included: false,
    served: true
  }
]

of karma.conf.js.
This will avoid 404 requests to these files.

Because this information is not an ingredient of jasmine-jquery it should be documented inside this repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions