MCPcopy Create free account
hub / github.com/dethcrypto/dethcode / importAll

Function importAll

packages/ethereum-viewer/src/test/run-tests.ts:13–14  ·  view source on GitHub ↗
(r: __WebpackModuleApi.RequireContext)

Source from the content-addressed store, hash-verified

11
12 // bundles all files in the current directory matching `*.test`
13 const importAll = (r: __WebpackModuleApi.RequireContext) =>
14 r.keys().forEach(r);
15
16 importAll(require.context("..", true, /\.test$/));
17

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected