Skip to content

Commit

Permalink
run lint:fix after copying the fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Sep 25, 2024
1 parent 9962dbd commit 64e9c30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions files-override/js/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default [
'**/*.cjs',
'config/**/*.js',
'testem.js',
'testem*.js',
'.prettierrc.js',
'.stylelintrc.js',
'.template-lintrc.js',
Expand Down
5 changes: 5 additions & 0 deletions tests/default.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ describe('basic functionality', function () {
copyWithTemplate(join(__dirname, 'fixture'), join(tmpDir.path, appName), {
name: appName,
});

// Sync the lints for the fixtures with the project's config
await execa(`pnpm`, ['lint:fix'], {
cwd: join(tmpDir.path, appName),
});
});

afterAll(async () => {
Expand Down

0 comments on commit 64e9c30

Please sign in to comment.