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
parent d93ca9ff60
commit 5a8ef94998
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"), () => {}))