Jest Live Template

Jest용 라이브 템플릿

Jest Live Template
기본
desc
description
//$TEST_CLASS_CAPITALIZE$ == capitalize(regularExpression(camelCase(fileNameWithoutExtension()), "Spec|Test",' ') )
describe("$TEST_CLASS_CAPITALIZE$ Test", () => {
  test("$END$", async () => {

  })
})
postfix
<EXPR>.ext
true 검증
expect(<EXPR>).toBeTruthy()
<EXPR>.exf
false 검증
expect(<EXPR>).toBeFalsy()
expect
ect
expect toBeTruthy
expect($SELECTION$).toBeTruthy()
toEqual(obj용)
ean
any number
Expect.Any(Number)
eas
any string
Expect.Any(String)
cr
const result
const result =