mirror of
https://github.com/papercss/papercss
synced 2024-06-19 22:25:10 +02:00
changes
This commit is contained in:
parent
4bcd2107d1
commit
1fa37fe9cf
|
@ -7,10 +7,11 @@
|
||||||
var UNIX_BUILD_COMMAND = "./jake.sh";
|
var UNIX_BUILD_COMMAND = "./jake.sh";
|
||||||
var WINDOWS_BUILD_COMMAND = "jake.bat";
|
var WINDOWS_BUILD_COMMAND = "jake.bat";
|
||||||
|
|
||||||
var os = require("os");
|
//var os = require("os");
|
||||||
|
|
||||||
exports.get = function() {
|
exports.get = function() {
|
||||||
return os.platform() === "win32" ? WINDOWS_BUILD_COMMAND : UNIX_BUILD_COMMAND;
|
//return os.platform() === "win32" ? WINDOWS_BUILD_COMMAND : UNIX_BUILD_COMMAND;
|
||||||
|
return WINDOWS_BUILD_COMMAND;
|
||||||
};
|
};
|
||||||
|
|
||||||
}());
|
}());
|
|
@ -13,14 +13,17 @@
|
||||||
basePath: '../../..',
|
basePath: '../../..',
|
||||||
|
|
||||||
// frameworks to use
|
// frameworks to use
|
||||||
frameworks: ['mocha'],
|
frameworks: ['mocha', 'commonjs'],
|
||||||
|
|
||||||
middleware: ['node-modules'],
|
middleware: ['node-modules'],
|
||||||
|
|
||||||
// list of files / patterns to load in the browser
|
// list of files / patterns to load in the browser
|
||||||
files: [
|
files: [
|
||||||
'tests/**/*.js',
|
'tests/*.js',
|
||||||
'node_modules/**/*.js',
|
'tests/vendor/*.js',
|
||||||
|
"node_modules/chai/chai.js",
|
||||||
|
//'tests/**/*.js',
|
||||||
|
//'node_modules/**/*.js',
|
||||||
//'node_modules/**/*.js',
|
//'node_modules/**/*.js',
|
||||||
// QUIXOTE: Serve the CSS file so we can load it in our tests
|
// QUIXOTE: Serve the CSS file so we can load it in our tests
|
||||||
// Mark it `included: false` so Karma doesn't load it automatically
|
// Mark it `included: false` so Karma doesn't load it automatically
|
||||||
|
@ -32,9 +35,10 @@
|
||||||
|
|
||||||
// preprocess matching files before serving them to the browser
|
// preprocess matching files before serving them to the browser
|
||||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||||
//preprocessors: {
|
preprocessors: {
|
||||||
// 'tests/**/*.js': ['commonjs'],
|
'tests/*.js': ['commonjs'],
|
||||||
//},
|
'tests/vendor/*.js': ['commonjs'],
|
||||||
|
},
|
||||||
|
|
||||||
// test results reporter to use
|
// test results reporter to use
|
||||||
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
|
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
(function() {
|
(function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var quixote = require("../node_modules/quixote/dist/quixote.js");
|
var quixote = require("./vendor/quixote.js");
|
||||||
var assert = require("../node_modules/chai/chai.js").assert;
|
var assert = require("./vendor/chai.js").assert;
|
||||||
|
|
||||||
describe("Colors", function() {
|
describe("Colors", function() {
|
||||||
var frame;
|
var frame;
|
||||||
|
@ -72,4 +72,4 @@
|
||||||
assert.equal(textMuted.getRawStyle("color"), "rgb(134, 142, 150)", "Muted color should be #868e96");
|
assert.equal(textMuted.getRawStyle("color"), "rgb(134, 142, 150)", "Muted color should be #868e96");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
|
10707
tests/vendor/chai.js
vendored
Normal file
10707
tests/vendor/chai.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
4195
tests/vendor/quixote.js
vendored
Normal file
4195
tests/vendor/quixote.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue