chore: Add a unit testing framework (#49)
Some checks are pending
Lint / pre-commit Linting (push) Waiting to run
Test / Run Tests (push) Successful in 1m12s

Add vitest as a unit testing framework

Reviewed-on: #49
This commit was merged in pull request #49.
This commit is contained in:
2026-01-04 07:02:20 +01:00
parent a14206d32c
commit 3ff19001a7
11 changed files with 3537 additions and 355 deletions

View File

@@ -174,4 +174,15 @@ async function postCode() {
});
}
}
postCode();
if (require.main === module) {
postCode();
}
module.exports = {
validateAuthentication,
replacePlaceholders,
postCode,
readReplaceAndWriteFiles,
readFilesIntoDict,
};