diff --git a/tests/unit/nativeVersionUpdaterTest.js b/tests/unit/nativeVersionUpdaterTest.js index d5c8c53f3d5c..60161bafeb2a 100644 --- a/tests/unit/nativeVersionUpdaterTest.js +++ b/tests/unit/nativeVersionUpdaterTest.js @@ -77,10 +77,8 @@ describe('updateAndroidVersion', () => { } } `], - ])('updateAndroidVersion("%s", "%s")', (versionName, versionCode, expected) => { - updateAndroidVersion(versionName, versionCode).then(() => { - const result = fs.readFileSync(BUILD_GRADLE_PATH, {encoding: 'utf8'}).toString(); - expect(result).toBe(expected); - }); - }); + ])('updateAndroidVersion("%s", "%s")', (versionName, versionCode, expected) => updateAndroidVersion(versionName, versionCode).then(() => { + const result = fs.readFileSync(BUILD_GRADLE_PATH, {encoding: 'utf8'}).toString(); + expect(result).toBe(expected); + })); });