copilot-swe-agent[bot] 596f86eccb Fix module ID collisions by using index-based lookup
Changed from using module ID as lookup key to using the module's
global index directly. This prevents collisions when the same module
ID exists in different projects or environments.

- Track project/environment context for each module index
- Store module nodes by index instead of module ID
- Look up nodes by index when populating edges
- Each module gets a unique index even if IDs are duplicated

Co-authored-by: sheremet-va <16173870+sheremet-va@users.noreply.github.com>
2026-01-21 18:28:18 +00:00
2026-01-13 10:11:29 +01:00
2023-11-10 13:24:26 +01:00
2025-09-08 16:28:43 +02:00
2025-10-27 10:53:56 +01:00
2026-01-14 10:38:11 +01:00
2026-01-15 09:30:48 +01:00
2025-02-12 16:03:33 +01:00



Vitest logo


Vitest

Next generation testing framework powered by Vite.

Get involved!

Documentation | Getting Started | Examples | Why Vitest?

中文文档



Features

Vitest requires Vite >=v6.0.0 and Node >=v20.0.0

import { assert, describe, expect, it } from 'vitest'

describe('suite name', () => {
  it('foo', () => {
    expect(1 + 1).toEqual(2)
    expect(true).to.be.true
  })

  it('bar', () => {
    assert.equal(Math.sqrt(4), 2)
  })

  it('snapshot', () => {
    expect({ foo: 'bar' }).toMatchSnapshot()
  })
})
$ npx vitest

Sponsors

Vladimir Sponsors

Anthony Fu Sponsors

Patak Sponsors

Credits

Thanks to:

Contribution

See Contributing Guide.

License

MIT License © 2021-Present VoidZero Inc. and Vitest contributors

Description
A Vite-native test framework. It's fast!
Readme MIT 107 MiB
Languages
TypeScript 94.7%
Vue 3%
JavaScript 2.1%
CSS 0.1%
HTML 0.1%