testingJavaScriptTestingMediumWhat is the core cycle of Test-Driven Development (TDD)?1Write a failing test, write minimal code to pass, then refactor2Write all code, then all tests3Refactor first, then test4Skip tests and shipBack to list