0.3.1-beta.0 • Published 7 years ago
karma-ineeda v0.3.1-beta.0
karma-ineeda
Karma plugin for ineeda
Installation:
npm install karma-ineeda --DE
Usage:
Add it to the frameworks
in your karma.conf
:
frameworks: ['ineeda'],
Config:
You can add a custom URL mapping function to transform URLs to file paths to request files, for example to handle webpack URLs:
// karma.conf.js
module.exports = {
frameworks: ['ineeda'],
// ...
ineeda: {
mappingUrl: function (url, config, next) {
let { basePath } = config;
// Handle webpack URLs:
if (url.match(/webpack:/)) {
return url.replace(/.*webpack:/, basePath);
}
}
}
}
0.3.1-beta.0
7 years ago
0.3.0-beta.2
7 years ago
0.3.0-beta.1
7 years ago
0.3.0-beta.0
7 years ago
0.2.0-beta.2
7 years ago
0.2.0-beta.1
7 years ago
0.2.0-beta.0
7 years ago
0.1.0-beta.3
7 years ago
0.1.0-beta.2
7 years ago
0.1.0-beta.1
7 years ago
0.1.0-beta.0
7 years ago