test(plugin.spec): fix version change in test fixture (#870)
diff --git a/integration-tests/plugin.spec.js b/integration-tests/plugin.spec.js
index 446078f..c235396 100644
--- a/integration-tests/plugin.spec.js
+++ b/integration-tests/plugin.spec.js
@@ -213,7 +213,7 @@
const targetVersion = '5.2.2';
const apiFile = path.join(project, 'platforms/android/cordova/Api.js');
const apiString = fs.readFileSync(apiFile, 'utf8')
- .replace(/const VERSION = '9.0.0';/, `const VERSION = '${targetVersion}';`);
+ .replace(/const VERSION = '[^']+';/, `const VERSION = '${targetVersion}';`);
fs.writeFileSync(apiFile, apiString, 'utf8');
return addPlugin(npmInfoTestPlugin, npmInfoTestPlugin)