From 23da3142b6bdbdc6f8e290afe376eff01e6f7eb2 Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Mon, 24 Jan 2022 17:22:57 +0100 Subject: [PATCH] test: Rename fixture `cli/uncaughtException` --- .../cli/{uncaughtException => uncaught-exception}/plugin.js | 0 .../{uncaughtException => uncaught-exception}/serverless.yml | 0 test/unit/scripts/serverless.test.js | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename test/fixtures/cli/{uncaughtException => uncaught-exception}/plugin.js (100%) rename test/fixtures/cli/{uncaughtException => uncaught-exception}/serverless.yml (100%) diff --git a/test/fixtures/cli/uncaughtException/plugin.js b/test/fixtures/cli/uncaught-exception/plugin.js similarity index 100% rename from test/fixtures/cli/uncaughtException/plugin.js rename to test/fixtures/cli/uncaught-exception/plugin.js diff --git a/test/fixtures/cli/uncaughtException/serverless.yml b/test/fixtures/cli/uncaught-exception/serverless.yml similarity index 100% rename from test/fixtures/cli/uncaughtException/serverless.yml rename to test/fixtures/cli/uncaught-exception/serverless.yml diff --git a/test/unit/scripts/serverless.test.js b/test/unit/scripts/serverless.test.js index 85f24a171..e0d72dd1a 100644 --- a/test/unit/scripts/serverless.test.js +++ b/test/unit/scripts/serverless.test.js @@ -58,7 +58,7 @@ describe('test/unit/scripts/serverless.test.js', () => { it('should handle uncaught exceptions', async () => { try { await spawn('node', [serverlessPath, 'print'], { - cwd: path.resolve(cliFixturesPath, 'uncaughtException'), + cwd: path.resolve(cliFixturesPath, 'uncaught-exception'), }); throw new Error('Unexpected'); } catch (error) {