Skip to content

Commit

Permalink
Merge pull request #74 from embroider-build/generator-tests
Browse files Browse the repository at this point in the history
add a test to verify generators are still working
  • Loading branch information
mansona authored Nov 18, 2024
2 parents 67f2a73 + 475c07e commit 96ccf5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ module.exports = {
'vite',
'@rollup/plugin-babel',
'decorator-transforms',
'@babel/plugin-transform-runtime',

// Dependencies out of date from upstream
// (or waiting for the release train to catch up)
Expand Down
4 changes: 4 additions & 0 deletions tests/default.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ describe('basic functionality', function () {
it('successfully optimizes deps', function () {
return project.execa('pnpm', ['vite', 'optimize', '--force']);
});

it('can run generators', function () {
return project.execa('pnpm', ['ember', 'g', 'route', 'fancy']);
});
});
}
});

0 comments on commit 96ccf5c

Please sign in to comment.