aboutsummaryrefslogtreecommitdiff
path: root/cordova/node_modules/cordova-registry-mapper/tests/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'cordova/node_modules/cordova-registry-mapper/tests/test.js')
-rwxr-xr-xcordova/node_modules/cordova-registry-mapper/tests/test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/cordova/node_modules/cordova-registry-mapper/tests/test.js b/cordova/node_modules/cordova-registry-mapper/tests/test.js
new file mode 100755
index 0000000..35343be
--- /dev/null
+++ b/cordova/node_modules/cordova-registry-mapper/tests/test.js
@@ -0,0 +1,11 @@
+var test = require('tape');
+var oldToNew = require('../index').oldToNew;
+var newToOld = require('../index').newToOld;
+
+test('plugin mappings exist', function(t) {
+ t.plan(2);
+
+ t.equal('cordova-plugin-device', oldToNew['org.apache.cordova.device']);
+
+ t.equal('org.apache.cordova.device', newToOld['cordova-plugin-device']);
+})