-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I get the following obscure error when the following assertion is executed:
assert(
await findCode(
[{filter: filter(resolveFromFile, resolveRequire)}],
glob(patterns),
{
read,
},
),
);
error: TypeError: Cannot convert a Symbol value to a string
at RegExp.test (<anonymous>)
at sanitizeKey (/node_modules/stringifier/strategies.js:263:27)
at Object.<anonymous> (/node_modules/stringifier/strategies.js:252:26)
at /node_modules/traverse/index.js:188:40
at Array.forEach (<anonymous>)
at forEach (/node_modules/traverse/index.js:19:30)
at walker (/node_modules/traverse/index.js:185:4)
at walk (/node_modules/traverse/index.js:208:3)
at Traverse.forEach (/node_modules/traverse/index.js:255:15)
at Traverse.reduce (/node_modules/traverse/index.js:262:7)
If I remove babel-preset-power-assert
from babel presets I do not get this error.
twada
Metadata
Metadata
Assignees
Labels
No labels