Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot redefine property: Symbol(expect-global) #1496

Closed
6 tasks done
Djaler opened this issue Jun 15, 2022 · 1 comment
Closed
6 tasks done

Cannot redefine property: Symbol(expect-global) #1496

Djaler opened this issue Jun 15, 2022 · 1 comment

Comments

@Djaler
Copy link

Djaler commented Jun 15, 2022

Describe the bug

TypeError: Cannot redefine property: Symbol(expect-global)
 ❯ ../../node_modules/.pnpm/vitest@0.15.0/node_modules/vitest/dist/chunk-runtime-chain.ce7f4b92.mjs:1856:8
    1854| }
    1855| const globalExpect = createExpect();
    1856| Object.defineProperty(globalThis, GLOBAL_EXPECT, {
       |        ^
    1857|   value: globalExpect
    1858| });

Reproduction

Djaler/vue-use-route-query#14

problem appears in 0.15.0

System Info

System:                                                    
    OS: Windows 10 10.0.19044                                
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz   
    Memory: 6.37 GB / 15.87 GB                               
  Binaries:                                                  
    Node: 16.13.2 - C:\Program Files\nodejs\node.EXE         
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD             
  Browsers:                                                  
    Edge: Spartan (44.19041.1266.0), Chromium (102.0.1245.41)
    Internet Explorer: 11.0.19041.1566

P.S. Same thing happens in Github Actions too https://github.com/Djaler/vue-use-route-query/runs/6908663229?check_suite_focus=true

Used Package Manager

pnpm

Validations

@sheremet-va
Copy link
Member

Interesting why this is executed twice 🤔

@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants