We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43dc28d commit 6201a1bCopy full SHA for 6201a1b
test/index.js
@@ -1279,14 +1279,8 @@ describe('function helpers', () => {
1279
await moveNextDist()
1280
await nextRuntime.onBuild(defaultArgs)
1281
const dependencies = await getAllPageDependencies(constants.PUBLISH_DIR)
1282
- const filesExist = await Promise.all(
1283
- dependencies.map(async (dep) => {
1284
- const exists = await pathExists(dep)
1285
- return [dep, exists]
1286
- }),
1287
- )
1288
- console.log(filesExist)
1289
- expect(filesExist.every(([dep, exists]) => exists)).toBeTruthy()
+ const filesExist = await Promise.all(dependencies.map((dep) => pathExists(dep)))
+ expect(filesExist.every((exists) => exists)).toBeTruthy()
1290
})
1291
1292
0 commit comments