summaryrefslogtreecommitdiff
path: root/components/jetpack/diffpatcher/test/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/jetpack/diffpatcher/test/index.js')
-rw-r--r--components/jetpack/diffpatcher/test/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/components/jetpack/diffpatcher/test/index.js b/components/jetpack/diffpatcher/test/index.js
deleted file mode 100644
index c06407e7c..000000000
--- a/components/jetpack/diffpatcher/test/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-
-var diff = require("../diff")
-var patch = require("../patch")
-
-exports["test diff"] = require("./diff")
-exports["test patch"] = require("./patch")
-
-exports["test patch(a, diff(a, b)) => b"] = function(assert) {
- var a = { a: { b: 1 }, c: { d: 2 } }
- var b = { a: { e: 3 }, c: { d: 4 } }
-
- assert.deepEqual(patch(a, diff(a, b)), b, "patch(a, diff(a, b)) => b")
-}