move all plugin tests out of babel-core and into their appropriate folders

This commit is contained in:
Sebastian McKenzie
2015-11-08 23:04:10 -08:00
parent 5f40b53dee
commit 15969a0904
1189 changed files with 365 additions and 65 deletions

View File

@@ -11,5 +11,8 @@
"dependencies": {
"babel-plugin-syntax-object-rest-spread": "^6.0.14",
"babel-runtime": "^5.0.0"
},
"devDependencies": {
"babel-helper-plugin-test-runner": "^6.0.0"
}
}
}

View File

@@ -0,0 +1,3 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
z = _extends({ x }, y);

View File

@@ -0,0 +1 @@
({ x, ...y, a, ...b, c });

View File

@@ -0,0 +1,3 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
_extends({ x }, y, { a }, b, { c });

View File

@@ -0,0 +1,3 @@
{
"plugins": ["transform-object-rest-spread"]
}

View File

@@ -0,0 +1,3 @@
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var z = _extends({}, x);

View File

@@ -0,0 +1 @@
require("babel-helper-plugin-test-runner")(__dirname);