Skip to content

Script files seem to be in a different order now #78

@parris

Description

@parris

As of 0.2.2 the script files are being loaded up in a way that breaks our test runner. Here is our config:

module.exports = function (grunt) {
    'use strict';

    grunt.config.set('jasmine.reserved', {
        src: [
            'src/core/spec_helper.js',
            'src/core/require_config.js',
            'src/core/spec_require_config.js'
        ],
        options: {
            display: 'short',
            keepRunner: true,
            summary: true,
            specs: ['src/**/*.spec.js', 'node_modules/jasmine-jquery/lib/jasmine-jquery.js'],
            vendor: ['bower_components/sinonjs/sinon.js', 'bower_components/jasmine-sinon/lib/jasmine-sinon.js'],
            helpers: 'src/!(core)/**/spec_helper.js',
            template: require('grunt-template-jasmine-requirejs'),
            templateOptions: {
                version: '2.1.10'
            }
        }
    });

};

We reverted back to 0.2.0 and everything with our test runner was fixed. It seems like jasmine is now being included after jasmine-sinon.

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