Skip to content

Commit

Permalink
chore: add test project to dangerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaisailovic committed Apr 1, 2024
1 parent c1a87eb commit b4af55e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,21 @@ async function checkWallet() {
}

checkWallet()

// -- Check laboratory ------------------------------------------------------------

async function checkLaboratory() {
const lab_files = modified_files.filter(f => f.includes('/laboratory/'))
for (const f of lab_files) {
const diff = await diffForFile(f)
if (f.includes('project') && diff?.removed.includes('spec')) {
warn('Testing spec changed. Some tests were removed')
}
}
}

checkLaboratory()

// -- Check left over development constants ---------------------------------------
async function checkDevelopmentConstants() {
for (const f of updated_files) {
Expand Down

0 comments on commit b4af55e

Please sign in to comment.