{"id":18307,"library":"ember-cli-test-info","title":"ember-cli-test-info","description":"A utility package for Ember CLI that extracts and provides test information for blueprints and addons. Version 1.0.0 is stable, with no recent updates. It is used internally by Ember CLI's blueprint system to generate test files. Minimal documentation; primarily a dependency for other Ember CLI addons and blueprints.","status":"active","version":"1.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/ember-cli/ember-cli-test-info","tags":["javascript"],"install":[{"cmd":"npm install ember-cli-test-info","lang":"bash","label":"npm"},{"cmd":"yarn add ember-cli-test-info","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-cli-test-info","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is an ES module. CommonJS require works if using Node.js with CJS interop, but ESM import is preferred.","wrong":"const testInfo = require('ember-cli-test-info');","symbol":"default","correct":"import testInfo from 'ember-cli-test-info';"},{"note":"Default export can be imported as namespace, but it's unnecessary. Use default import for clarity.","wrong":"import * as testInfo from 'ember-cli-test-info';","symbol":"testInfo","correct":"const testInfo = require('ember-cli-test-info');"},{"note":"No named export 'testInfo'. Use default import.","wrong":"import { testInfo } from 'ember-cli-test-info';","symbol":"testInfo","correct":"import testInfo from 'ember-cli-test-info';"}],"quickstart":{"code":"import testInfo from 'ember-cli-test-info';\n\n// Example: get test info for a module name\nconst info = testInfo('my-component');\nconsole.log(info); // { name: 'my-component', ... }\n","lang":"javascript","description":"Demonstrates importing and using the default function to extract test info for a given module name."},"warnings":[{"fix":"Use `import testInfo from 'ember-cli-test-info'`.","message":"The package exports only a default function; no named exports.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Check Ember CLI documentation for current test info extraction methods.","message":"The package has not been updated since 2016; functionality may be superseded by newer Ember CLI versions.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use default import: `import testInfo from 'ember-cli-test-info'`.","cause":"Attempting to import named export 'testInfo' from a default-only CommonJS module.","error":"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."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}