Got tests running in PhantomJS by adding shim for it

This commit is contained in:
jacobawenger
2014-06-29 14:31:14 -07:00
parent 9d51a216f3
commit 667aa5a9a9
4 changed files with 1434 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ var paths = {
config: "tests/karma.conf.js",
files: [
"bower_components/firebase/firebase.js",
"tests/phantomjs-es5-shim.js",
"bower_components/react/react-with-addons.js",
"bower_components/react/JSXTransformer.js",
"src/*.js",

View File

@@ -25,7 +25,6 @@
"karma": "^0.12.16",
"karma-jasmine": "~0.2.0",
"karma-coverage": "^0.2.4",
"karma-chrome-launcher": "^0.1.4",
"karma-phantomjs-launcher": "~0.1.4",
"gulp": "^3.5.6",
"gulp-karma": "0.0.4",

View File

@@ -9,6 +9,6 @@ module.exports = function(config) {
coverageReporter: {
type: "html"
},
browsers: ["Chrome"]
browsers: ["PhantomJS"]
});
};

1432
tests/phantomjs-es5-shim.js Normal file

File diff suppressed because it is too large Load Diff