3 ms·
I do things like const HARD_CODE_TEST_DATABASE_FOR_SAFETY = 'unit-testing' destroyDatabase(HARD_CODE_TEST_DATABASE_FOR_SAFETY) 1. Avoid silly terms our i
by nailer 6y ago
I do things like
const HARD_CODE_TEST_DATABASE_FOR_SAFETY = 'unit-testing'
destroyDatabase(HARD_CODE_TEST_DATABASE_FOR_SAFETY)
1. Avoid silly terms our industry should have ditched years ago, like 'drop'
2. Making sure that nobody will ever change HARD_CODE_TEST_DATABASE_FOR_SAFETY because they thought it should 'always be the active database' or whatever.