Unverified Commit 6674e977 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix create-next-app tests from example change (#28972)

parent 63e71b58
...@@ -6,8 +6,8 @@ import path from 'path' ...@@ -6,8 +6,8 @@ import path from 'path'
const cli = require.resolve('create-next-app/dist/index.js') const cli = require.resolve('create-next-app/dist/index.js')
const exampleRepo = 'https://github.com/vercel/next-learn-starter/tree/master' const exampleRepo = 'https://github.com/vercel/next.js/tree/canary'
const examplePath = 'navigate-between-pages-starter' const examplePath = 'examples/basic-css'
jest.setTimeout(1000 * 60 * 5) jest.setTimeout(1000 * 60 * 5)
...@@ -378,7 +378,7 @@ describe('create next app', () => { ...@@ -378,7 +378,7 @@ describe('create next app', () => {
projectName, projectName,
'--use-npm', '--use-npm',
'--example', '--example',
'https://github.com/vercel/next-learn-starter/tree/master/learn-starter', `${exampleRepo}/${examplePath}`,
], ],
{ cwd } { cwd }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment