MCPcopy Create free account
hub / github.com/Effect-TS/effect / stop

Function stop

packages/platform/node-shared/test/Dns.test-utils.ts:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 const directory = await Fs.mkdtemp(Path.join(Os.tmpdir(), "effect-dns-"))
149 let container: StartedTestContainer | undefined
150 const stop = async () => {
151 try {
152 await container?.stop()
153 } finally {
154 await Fs.rm(directory, { recursive: true, force: true })
155 }
156 }
157 try {
158 await Fs.chmod(directory, 0o755)
159 for (

Callers 1

startDnsServerFunction · 0.70

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected