Hermansyahhermansyah.devยทSep 5, 2022Mocha Testing in Separate Files and DotenvIntroduction The main goal of dividing tests into multiple files is to make tests readable and easier to maintain. Each file should be responsible for a single responsibility. Here is how I separate tests into multiple files: Step by step First, we n...1.1K readsmochaAdd a thoughtful commentNo comments yetBe the first to start the conversation.