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) {