Merge pull request #3015 from spotify/freben/promises-last

fix(cli): one more await in the test
This commit is contained in:
Fredrik Adelöw
2020-10-21 12:00:21 +02:00
committed by GitHub
@@ -114,7 +114,7 @@ describe('removePlugin', () => {
it('removes plugin exports from /packages/app/src/package.json', async () => {
const testFilePath = path.join(tempDir, 'test.ts');
const pluginsFilePaths = path.join(appPath, 'src', 'plugins.ts');
createTestPluginFile(testFilePath, pluginsFilePaths);
await createTestPluginFile(testFilePath, pluginsFilePaths);
try {
await removeReferencesFromPluginsFile(testFilePath, testPluginName);
const testFileContent = removeEmptyLines(