From f35f5bcfc4dc91ea53652cfd2b9254f625120b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Wed, 21 Oct 2020 10:44:44 +0200 Subject: [PATCH] fix(cli): one more await in the test --- packages/cli/src/commands/remove-plugin/removePlugin.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/remove-plugin/removePlugin.test.ts b/packages/cli/src/commands/remove-plugin/removePlugin.test.ts index a5e2af5974..6433cb6116 100644 --- a/packages/cli/src/commands/remove-plugin/removePlugin.test.ts +++ b/packages/cli/src/commands/remove-plugin/removePlugin.test.ts @@ -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(