Skip to content

Add isCJS helper, update import-in-the-middle

Codecov / codecov/patch failed Oct 2, 2024 in 0s

72.05% of diff hit (target 96.67%)

View this Pull Request on Codecov

72.05% of diff hit (target 96.67%)

Annotations

Check warning on line 18 in library/agent/hooks/executeInterceptors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/executeInterceptors.ts#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 23 in library/agent/hooks/executeInterceptors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/executeInterceptors.ts#L22-L23

Added lines #L22 - L23 were not covered by tests

Check warning on line 33 in library/agent/hooks/executeInterceptors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/executeInterceptors.ts#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 38 in library/agent/hooks/executeInterceptors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/executeInterceptors.ts#L35-L38

Added lines #L35 - L38 were not covered by tests

Check warning on line 44 in library/agent/hooks/executeInterceptors.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/executeInterceptors.ts#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 26 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 35 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L35

Added line #L35 was not covered by tests

Check warning on line 39 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L37-L39

Added lines #L37 - L39 were not covered by tests

Check warning on line 49 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L48-L49

Added lines #L48 - L49 were not covered by tests

Check warning on line 60 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 72 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L66-L72

Added lines #L66 - L72 were not covered by tests

Check warning on line 87 in library/agent/hooks/isMainJsFile.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/isMainJsFile.ts#L87

Added line #L87 was not covered by tests

Check warning on line 74 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L71-L74

Added lines #L71 - L74 were not covered by tests

Check warning on line 100 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L99-L100

Added lines #L99 - L100 were not covered by tests

Check warning on line 112 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L111-L112

Added lines #L111 - L112 were not covered by tests

Check warning on line 117 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 127 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L125-L127

Added lines #L125 - L127 were not covered by tests

Check warning on line 145 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 159 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L156-L159

Added lines #L156 - L159 were not covered by tests

Check warning on line 173 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L168-L173

Added lines #L168 - L173 were not covered by tests

Check warning on line 178 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L176-L178

Added lines #L176 - L178 were not covered by tests

Check warning on line 202 in library/agent/hooks/wrapImport.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapImport.ts#L198-L202

Added lines #L198 - L202 were not covered by tests

Check warning on line 37 in library/agent/hooks/wrapRequire.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapRequire.ts#L37

Added line #L37 was not covered by tests

Check warning on line 41 in library/agent/hooks/wrapRequire.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

library/agent/hooks/wrapRequire.ts#L40-L41

Added lines #L40 - L41 were not covered by tests