This PR adds a new test case for the VectorStoreIndex class in the packages/core/src/tests/CallbackManager.test.ts file. The test case covers the initialization of the index, the retrieval of nodes, and the building of the index from nodes. It also ensures that the VectorStoreIndex interacts correctly with other components such as the VectorStore and the ServiceContext.
Summary of Changes
Added a new test case for the VectorStoreIndex class in packages/core/src/tests/CallbackManager.test.ts
The test case covers the initialization of the index, the retrieval of nodes, and the building of the index from nodes
Ensured that the VectorStoreIndex interacts correctly with other components such as the VectorStore and the ServiceContext
Followed the same structure and conventions as the existing tests
Fixes #7.
To checkout this PR branch, run the following command in your terminal:
Description
This PR adds a new test case for the VectorStoreIndex class in the
packages/core/src/tests/CallbackManager.test.ts
file. The test case covers the initialization of the index, the retrieval of nodes, and the building of the index from nodes. It also ensures that the VectorStoreIndex interacts correctly with other components such as the VectorStore and the ServiceContext.Summary of Changes
packages/core/src/tests/CallbackManager.test.ts
Fixes #7.
To checkout this PR branch, run the following command in your terminal: