mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-17 12:20:05 +08:00
Got tests running in PhantomJS by adding shim for it
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -9,6 +9,6 @@ module.exports = function(config) {
|
||||
coverageReporter: {
|
||||
type: "html"
|
||||
},
|
||||
browsers: ["Chrome"]
|
||||
browsers: ["PhantomJS"]
|
||||
});
|
||||
};
|
||||
1432
tests/phantomjs-es5-shim.js
Normal file
1432
tests/phantomjs-es5-shim.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user