Skip to content

Commit bda1554

Browse files
committed
feat(updates): Updates to some files to continue the pipeline testing
1 parent 04bf335 commit bda1554

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/counter/counter.test.display.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ try {
1111
current = parseInt(content, 10) || 0;
1212
}
1313

14-
console.info(`\n\nTests ran: ${current}\n\n`);
14+
console.info(`\n\nTotal test runs: ${current}\n\n`);
1515
} catch (err) {
1616
console.error('Error updating counter:', err.message);
1717
}

.github/counter/counter.test.increment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ try {
1616

1717
// Write back
1818
fs.writeFileSync(filePath, String(updated));
19-
console.info(`\n\nCounter updated: ${current}${updated}\n\n`);
19+
console.info(`\n\nTest run counter updated: ${current}${updated}\n\n`);
2020
} catch (err) {
2121
console.error('Error updating counter:', err.message);
2222
}

.github/scripts/check-coverage-thresholds.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ for (const key of ['branches', 'functions', 'lines', 'statements']) {
4242
if (failed) {
4343
const stars = '*'.repeat(warnMessage.length + 8);
4444
execSync('clear', { stdio: 'inherit' });
45-
console.log(warnMessage.length);
4645
console.log('\n\nCongratulations! You have successfully run the coverage check and added tests.');
4746
console.log('\n\nThe jest.config.js file is not insync with your new test additions.');
4847
console.log('Please update the coverage thresholds in jest.config.js.');

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ tests are run locally. The output is displayed.
2828
The `.github` folder contains the following:
2929

3030
1. The test run "counter" scripts
31-
.github/scripts
32-
2. The "counter" file
3331
.github/counter
32+
2. Script needed for the deployment process
33+
.github/scripts
3434
3. The github action work flow scripts
3535
.github/workflows
3636
4. The github PR templates

0 commit comments

Comments
 (0)