ember-cli-typescript icon indicating copy to clipboard operation
ember-cli-typescript copied to clipboard

Tests are not generated in Octane enabled project

Open btecu opened this issue 5 years ago • 2 comments
trafficstars

Using ember-cli: 3.14, ember.js: 3.14 with Octane enabled and latest version of ember-cli-typescript as of now (3.1.1).

When generating a component, no test files get created. Trying to generate a test file via ember g component-test someComponent will cause ember-cli to install ember-cli-htmlbars-inline-precompile@^0.3.1 and then fail because it requires ember-cli-babel version 5.

cc @chriskrycho

btecu avatar Nov 22 '19 20:11 btecu

This stops being a problem by removing ember-cli-typescript-blueprints.

chriskrycho avatar Nov 22 '19 20:11 chriskrycho

Given the state our blueprints are in—very out of date, and mostly unnecessary in an Octane world (we really just need a "change the extension" transform for everything except components and maaaaybe tests, and those need only simple extensions)—I propose we stop installing them by default for now. cc. @jamescdavis @dfreeman @mike-north

chriskrycho avatar Dec 06 '19 04:12 chriskrycho

Resolved by Ember shipping its own TS blueprints, including for tests. 🎉

chriskrycho avatar Sep 28 '23 23:09 chriskrycho