This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git
The following commit(s) were added to refs/heads/master by this push:
new cf5c487 test(plugin.spec): fix version change in test fixture (#870)
cf5c487 is described below
commit cf5c4878e2a8f51d65accf9b03453c8f8848cd05
Author: Raphael von der GrĂ¼n <[email protected]>
AuthorDate: Tue Jun 8 08:47:31 2021 +0200
test(plugin.spec): fix version change in test fixture (#870)
---
integration-tests/plugin.spec.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 @@ describe('plugin end-to-end', function () {
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]