feat(core): add flagged project references (#30414)

This commit is contained in:
Shoubhit Dash 2026-06-02 19:55:11 +05:30 committed by GitHub
commit 5a8ef94998
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 516 additions and 2 deletions

View file

@ -16,6 +16,7 @@ import { Global } from "../src/global"
import { ModelsDev } from "../src/models-dev"
import { Npm } from "../src/npm"
import { Project } from "../src/project"
import { ProjectReference } from "../src/project-reference"
const it = testEffect(
LocationServiceMap.layer.pipe(
@ -53,6 +54,7 @@ describe("LocationServiceMap", () => {
const update = (directory: string) =>
Effect.gen(function* () {
yield* PluginBoot.Service.use((boot) => boot.wait())
yield* ProjectReference.Service
const catalog = yield* Catalog.Service
const transform = yield* catalog.transform()
yield* transform((editor) => editor.provider.update(ProviderV2.ID.make("test"), () => {}))