fix(cli): one more await in the test

This commit is contained in:
Fredrik Adelöw
2020-10-21 10:44:44 +02:00
parent 1611c6dbc2
commit f35f5bcfc4
@@ -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(