AB
> ava
Uncaught exception in test\index.test.js
E:\OSPanel\domains\nuxt\my_app\test\index.test.js:1
import { resolve } from 'path'
^^^^^^
SyntaxError: Cannot use import statement outside a module
× test\index.test.js exited with a non-zero exit code: 1
1 uncaught exception
npm ERR! Test failed. See above for more details.