Skip to content

Commit 65af5d9

Browse files
committed
Create test directories if they are missing
1 parent 83861cb commit 65af5d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/install-test-deps.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ readdirSync(join(__dirname, 'react')).forEach(version => {
2929
]
3030

3131
if (!existsSync(join(__dirname, 'react', version, 'test'))) {
32-
throw new Error(`react version ${version}'s "test" directory is missing, cannot run tests`)
32+
mkdirSync(join(__dirname, 'react', version, 'test'))
3333
}
3434

3535
if (!existsSync(join(__dirname, 'react', version, 'src'))) {

0 commit comments

Comments
 (0)