Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default
✓ import testInfo from 'ember-cli-test-info';
✗ const testInfo = require('ember-cli-test-info');
Package is an ES module. CommonJS require works if using Node.js with CJS interop, but ESM import is preferred.
testInfo
✓ const testInfo = require('ember-cli-test-info');
✗ import * as testInfo from 'ember-cli-test-info';
Default export can be imported as namespace, but it's unnecessary. Use default import for clarity.
testInfo
✓ import testInfo from 'ember-cli-test-info';
✗ import { testInfo } from 'ember-cli-test-info';
No named export 'testInfo'. Use default import.
Demonstrates importing and using the default function to extract test info for a given module name.
import testInfo from 'ember-cli-test-info';
// Example: get test info for a module name
const info = testInfo('my-component');
console.log(info); // { name: 'my-component', ... }
Errors
Common errors & fixes
SyntaxError: Named export 'testInfo' not found. The requested module 'ember-cli-test-info' is a CommonJS module; it may not support all module.exports as named exports.
Attempting to import named export 'testInfo' from a default-only CommonJS module.
fixUse default import: `import testInfo from 'ember-cli-test-info'`.
Audit
Dependencies
No dependency data recorded yet.