Skip to content

Commit

Permalink
Disabled watch mode in tests in the generated package.
Browse files Browse the repository at this point in the history
  • Loading branch information
psmyrek committed Sep 4, 2024
1 parent 70423c8 commit e3f98a2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig( {
'tests/**/*.js'
],
globals: true,
watch: false,
coverage: {
thresholds: {
lines: 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig( {
'tests/**/*.js'
],
globals: true,
watch: false,
coverage: {
thresholds: {
lines: 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig( {
'tests/**/*.[jt]s'
],
globals: true,
watch: false,
coverage: {
thresholds: {
lines: 100,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineConfig( {
'tests/**/*.[jt]s'
],
globals: true,
watch: false,
coverage: {
thresholds: {
lines: 100,
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/verify-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async function verifyBuild( { language, packageManager, customPluginName, instal
executeCommand( packageBuildCommand, { cwd: path.join( REPOSITORY_DIRECTORY, '..' ) } );

logProcess( 'Executing tests...' );
executeCommand( [ 'yarn', 'run', 'test', '--no-watch' ], { cwd: NEW_PACKAGE_DIRECTORY } );
executeCommand( [ 'yarn', 'run', 'test' ], { cwd: NEW_PACKAGE_DIRECTORY } );

logProcess( 'Executing linters...' );
executeCommand( [ 'yarn', 'run', 'lint' ], { cwd: NEW_PACKAGE_DIRECTORY } );
Expand Down

0 comments on commit e3f98a2

Please sign in to comment.