Sha256: 8583637d6aed93835e420bb79dc6df54be0d3bf2f016002846e25d972a77bb42
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
Contents
module.exports = require("./jasmine-core/jasmine.js"); module.exports.boot = require('./jasmine-core/node_boot.js'); var path = require('path'), fs = require('fs'); var rootPath = path.join(__dirname, "jasmine-core"), bootFiles = ['boot0.js', 'boot1.js'], legacyBootFiles = ['boot.js'], nodeBootFiles = ['node_boot.js'], cssFiles = [], jsFiles = [], jsFilesToSkip = ['jasmine.js'].concat(bootFiles, legacyBootFiles, nodeBootFiles); fs.readdirSync(rootPath).forEach(function(file) { if(fs.statSync(path.join(rootPath, file)).isFile()) { switch(path.extname(file)) { case '.css': cssFiles.push(file); break; case '.js': if (jsFilesToSkip.indexOf(file) < 0) { jsFiles.push(file); } break; } } }); module.exports.files = { path: rootPath, bootDir: rootPath, bootFiles: bootFiles, nodeBootFiles: nodeBootFiles, cssFiles: cssFiles, jsFiles: ['jasmine.js'].concat(jsFiles), imagesDir: path.join(__dirname, '../images') };
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jasmine-core-3.99.0 | ./lib/jasmine-core.js |
jasmine-core-3.10.1 | ./lib/jasmine-core.js |
jasmine-core-3.10.0 | ./lib/jasmine-core.js |
jasmine-core-3.9.0 | ./lib/jasmine-core.js |