Open

Description
Version
6.7.0
Vue.js version
2.7.14
Steps to reproduce
npm run test
Description
It may have something to do with this SyntaxError: Unexpected token 'const' · Issue #14650 · ariya/phantomjs.
How do I get the test to run correctly?
What is actually happening?
C:\vue-infinite-loading\vue-infinite-loading>npm run test
> [email protected] test
> BABEL_ENV=test karma start scripts/karma.conf.js
(node:3588) Warning: Accessing non-existent property 'VERSION' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
i 「wdm」: Compiled successfully.
02 06 2023 08:22:30.258:INFO [karma-server]: Karma v6.4.2 server started at http://localhost:9876/
02 06 2023 08:22:30.261:INFO [launcher]: Launching browsers PhantomJS with concurrency unlimited
02 06 2023 08:22:30.281:INFO [launcher]: Starting browser PhantomJS
02 06 2023 08:22:34.393:INFO [PhantomJS 2.1.1 (Windows 8)]: Connected on socket G34mpHBC5SYw29HOAAAB with id 18829373
PhantomJS 2.1.1 (Windows 8) ERROR
SyntaxError: Unexpected token 'const'
at C:/vue-infinite-loading/test/unit/index.js:1241:0
PhantomJS 2.1.1 (Windows 8): Executed 0 of 0 ERROR (0.185 secs / 0 secs)
Metadata
Metadata
Assignees
Labels
No labels