Skip to content

Commit

Permalink
refactor: use mocked redwood repo, instead of local path
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Sep 1, 2023
1 parent 9a20bf5 commit 9726ed2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/build-info/src/frameworks/redwood.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const redwoodToml = `
`

test('should detect redwood', async ({ fs }) => {
/*
const cwd = mockFileSystem({
'redwood.toml': redwoodToml,
'package.json': JSON.stringify({
Expand Down Expand Up @@ -88,9 +87,8 @@ test('should detect redwood', async ({ fs }) => {
},
}),
})
*/

const project = new Project(fs, '/Users/skn0tt/dev/tmp/rw-netlify-test', '/Users/skn0tt/dev/tmp/rw-netlify-test')
const project = new Project(fs, cwd, cwd)

expect(await project.detectWorkspaces()).toBeNull()
const detected = await project.detectFrameworks()
Expand Down

0 comments on commit 9726ed2

Please sign in to comment.