This package provides a Grunt task for integrating Jasmine test suites, specifically leveraging the `jasmine-node` test runner. Its latest version, 0.3.1, was published in 2014, indicating it is an effectively abandoned project. The underlying `jasmine-node` library, which bundled Jasmine 1.3.1 for Node.js environments, itself entered maintenance mode in May 2019 and advises users to migrate to the actively maintained `jasmine` or `jasmine-npm` packages for modern Node.js development. Consequently, `grunt-jasmine-node` lacks compatibility with contemporary Node.js versions, current Grunt releases, and Jasmine versions beyond 1.x (e.g., Jasmine 2.x and 3.x series). Developers seeking to run Jasmine tests within a Grunt workflow should instead consider `grunt-contrib-jasmine`, which is an actively maintained plugin supporting modern Jasmine features and Node.js environments.
npm install grunt-jasmine-nodeVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to configure and run the `jasmine_node` task within a Gruntfile to execute Jasmine 1.x tests.
Migrate to `grunt-contrib-jasmine` (for Jasmine 2.x/3.x support) or use modern test runners directly via npm scripts.
Use a Node.js version compatible with the plugin's last known good configuration (likely Node.js <14) or, preferably, migrate to a modern, actively maintained test runner setup.
Avoid using `jasmine-node` and by extension `grunt-jasmine-node`. Transition to `jasmine` or `jasmine-npm` for Node.js testing, potentially integrated with `grunt-contrib-jasmine` or npm scripts.
Evaluate modern Grunt plugins like `grunt-contrib-jasmine` or consider moving away from Grunt entirely for running tests, opting for direct integration with `npm test` scripts.
Discontinue use immediately and migrate to actively maintained testing solutions to mitigate security risks. Regularly scan new dependencies for vulnerabilities.
Ensure `npm install grunt-jasmine-node --save-dev` has been run and `grunt.loadNpmTasks('grunt-jasmine-node');` is present in your Gruntfile.js.Verify that only one version of Jasmine is being loaded and that your test code is written for Jasmine 1.x. If you require newer Jasmine features, you must migrate to a different plugin or runner.
Run `npm install jasmine-node --save-dev` (or remove `node_modules` and run `npm install`) to ensure `jasmine-node` is available to the Grunt plugin.