Skip to content
Permalink
Browse files
test(pkgJson): fix test after release of geolocation plugin v4.1.0 (#864
)

A test got hung up on whether the plugin defined any variables or not.
However, that was beside the point of the test in the first place. It
should only check that the key for the plugin is present. I updated the
test accordingly.

Fixes #863
  • Loading branch information
raphinesse committed Dec 16, 2020
1 parent 73d0155 commit 3418b1779612950bb2d43a8c277ea4370faf612a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -168,7 +168,7 @@ describe('pkgJson', function () {
}).then(function () {
// Expect that only the plugin that had --save was added.
expect(getPkgJson('cordova.plugins')).toEqual({
[SAVED_PLUGIN]: {}
[SAVED_PLUGIN]: jasmine.anything()
});
});
});

0 comments on commit 3418b17

Please sign in to comment.