test(core): fix mutable plugin fixture (#35837)
This commit is contained in:
parent
ed6ad272ec
commit
e96c24ce2e
1 changed files with 2 additions and 2 deletions
|
|
@ -273,9 +273,9 @@ function withLocation<A, E, R>(
|
|||
function mutablePlugin(description: string) {
|
||||
const plugin = pathToFileURL(path.join(import.meta.dir, "../../../plugin/src/v2/promise/index.ts")).href
|
||||
return `
|
||||
import { define } from ${JSON.stringify(plugin)}
|
||||
import { Plugin } from ${JSON.stringify(plugin)}
|
||||
|
||||
export default EffectPlugin.define({
|
||||
export default Plugin.define({
|
||||
id: "mutable-plugin",
|
||||
setup: async (ctx) => {
|
||||
await ctx.agent.transform((agents) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue