test: rename tests
This commit is contained in:
parent
7cbb07fd67
commit
a8c533c648
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ const { birth, dateFormatOption, getAge, ageInt, ageDecimal, isOverBirthDay } =
|
||||||
testing
|
testing
|
||||||
|
|
||||||
describe("getAge tests", () => {
|
describe("getAge tests", () => {
|
||||||
test("birthday should be 2002-07-30", () => {
|
test("birthday to be 2002-07-30", () => {
|
||||||
expect(birth).toEqual(new Date("2002-07-30, 00:00:00.000 +09:00"))
|
expect(birth).toEqual(new Date("2002-07-30, 00:00:00.000 +09:00"))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ describe("getAge tests", () => {
|
||||||
).toEqual(false)
|
).toEqual(false)
|
||||||
})
|
})
|
||||||
|
|
||||||
test("dateFormatOption should work properly", () => {
|
test("dateFormatOption to work properly", () => {
|
||||||
expect(
|
expect(
|
||||||
new Date("2002-07-30, 00:00:00.000 +09:00").toLocaleString(
|
new Date("2002-07-30, 00:00:00.000 +09:00").toLocaleString(
|
||||||
"en-US",
|
"en-US",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue