MCPcopy Create free account
hub / github.com/breck7/scroll / stripImported

Function stripImported

tests/scroll.test.js:302–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302const stripImported = str => {
303 const particle = new Particle(str)
304 particle.getParticles("imported").forEach(particle => particle.destroy())
305 return particle.toString()
306}
307
308testParticles.inMemory = async equal => {
309 // Arrange/Act/Assert

Callers 1

scroll.test.jsFile · 0.85

Calls 4

getParticlesMethod · 0.95
destroyMethod · 0.95
toStringMethod · 0.95
forEachMethod · 0.80

Tested by

no test coverage detected