Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about changing the fixturesPath #13

Open
julkue opened this issue Dec 11, 2015 · 0 comments
Open

Add information about changing the fixturesPath #13

julkue opened this issue Dec 11, 2015 · 0 comments

Comments

@julkue
Copy link

julkue commented Dec 11, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant