summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/project-name.test.js
diff options
context:
space:
mode:
authorGravatar Viktor Szépe <viktor@szepe.net> 2024-05-01 07:56:38 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-01 13:56:38 +0800
commita146cf1012483b030a8146fb3035801f3c0c9099 (patch)
treeddececa7326f41bbcdf4e44b7205f6a43e4e8efa /packages/create-astro/test/project-name.test.js
parent1b7ed7a31a3a7a244440562a8e16aac1617c0114 (diff)
downloadastro-a146cf1012483b030a8146fb3035801f3c0c9099.tar.gz
astro-a146cf1012483b030a8146fb3035801f3c0c9099.tar.zst
astro-a146cf1012483b030a8146fb3035801f3c0c9099.zip
Fix typos (#10923)
Diffstat (limited to 'packages/create-astro/test/project-name.test.js')
-rw-r--r--packages/create-astro/test/project-name.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/create-astro/test/project-name.test.js b/packages/create-astro/test/project-name.test.js
index 8f14969e2..0aebd1c79 100644
--- a/packages/create-astro/test/project-name.test.js
+++ b/packages/create-astro/test/project-name.test.js
@@ -56,7 +56,7 @@ describe('project name', async () => {
assert.equal(context.projectName, 'foobar');
});
- it('head and tail blank spaces should be trimed', async () => {
+ it('head and tail blank spaces should be trimmed', async () => {
const context = { projectName: '', cwd: '', prompt: () => ({ name: ' foobar ' }) };
await projectName(context);
assert.equal(context.cwd, 'foobar');