From 012011c4606c98ee6cf71b66ac78e47bebd7841d Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Mon, 24 Jan 2022 17:45:13 +0100 Subject: [PATCH] test: Rename fixture `programmatic/locallyInstalledServerless` --- .../_setup.js | 0 .../node_modules/serverless/bin/serverless.js | 0 .../node_modules/serverless/lib/Serverless.js | 0 .../node_modules/serverless/package.json | 0 .../serverless.yml | 0 test/unit/scripts/serverless.test.js | 2 +- 6 files changed, 1 insertion(+), 1 deletion(-) rename test/fixtures/programmatic/{locallyInstalledServerless => locally-installed-serverless}/_setup.js (100%) rename test/fixtures/programmatic/{locallyInstalledServerless => locally-installed-serverless}/node_modules/serverless/bin/serverless.js (100%) rename test/fixtures/programmatic/{locallyInstalledServerless => locally-installed-serverless}/node_modules/serverless/lib/Serverless.js (100%) rename test/fixtures/programmatic/{locallyInstalledServerless => locally-installed-serverless}/node_modules/serverless/package.json (100%) rename test/fixtures/programmatic/{locallyInstalledServerless => locally-installed-serverless}/serverless.yml (100%) diff --git a/test/fixtures/programmatic/locallyInstalledServerless/_setup.js b/test/fixtures/programmatic/locally-installed-serverless/_setup.js similarity index 100% rename from test/fixtures/programmatic/locallyInstalledServerless/_setup.js rename to test/fixtures/programmatic/locally-installed-serverless/_setup.js diff --git a/test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/bin/serverless.js b/test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/bin/serverless.js similarity index 100% rename from test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/bin/serverless.js rename to test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/bin/serverless.js diff --git a/test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/lib/Serverless.js b/test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/lib/Serverless.js similarity index 100% rename from test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/lib/Serverless.js rename to test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/lib/Serverless.js diff --git a/test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/package.json b/test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/package.json similarity index 100% rename from test/fixtures/programmatic/locallyInstalledServerless/node_modules/serverless/package.json rename to test/fixtures/programmatic/locally-installed-serverless/node_modules/serverless/package.json diff --git a/test/fixtures/programmatic/locallyInstalledServerless/serverless.yml b/test/fixtures/programmatic/locally-installed-serverless/serverless.yml similarity index 100% rename from test/fixtures/programmatic/locallyInstalledServerless/serverless.yml rename to test/fixtures/programmatic/locally-installed-serverless/serverless.yml diff --git a/test/unit/scripts/serverless.test.js b/test/unit/scripts/serverless.test.js index 70813905a..2c2169541 100644 --- a/test/unit/scripts/serverless.test.js +++ b/test/unit/scripts/serverless.test.js @@ -71,7 +71,7 @@ describe('test/unit/scripts/serverless.test.js', () => { const output = String( ( await spawn('node', [serverlessBinPath, '--help'], { - cwd: (await programmaticFixturesEngine.setup('locallyInstalledServerless')).servicePath, + cwd: (await programmaticFixturesEngine.setup('locally-installed-serverless')).servicePath, }) ).stderrBuffer );