Establish guidelines for writing Jest tests #213
Labels
developer experience
Helping the Developer Experience
help wanted
Extra attention is needed
type: documentation (docs)
Improvements or additions to documentation
type: nice to have
Feature that'd be nice to have, but not a priority
type: test
Creation and development of test
Presently, across all merged and pending test files, an assortment of testing syntax is used, and few structural similarities exist. For example, some testing files use
describe()
, while others do not; some tests usetest()
, while others use its aliasit()
, etc.I feel that it would be helpful to Telescope's future maintainers if we established and started abiding by some common conventions or guidelines for writing test files. This would first require us to determine our preferred coding style for test files, including which pieces of Jest syntax each testing file should or should not utilize.
The text was updated successfully, but these errors were encountered: