Upgrade package, Implement fake API, version info get from API. Waiting for real API
This commit is contained in:
parent
faaae95956
commit
5b2d7ea68d
16 changed files with 853 additions and 615 deletions
|
|
@ -1,8 +1,7 @@
|
|||
//TDD
|
||||
//TDD Implement unitest here
|
||||
import {it,expect } from 'vitest'
|
||||
import {getContact} from './info'
|
||||
it('test getContact() ',async ()=>{
|
||||
const result = await getContact()
|
||||
const result = {company_name:"กองสรรหาบุคคล",Country:"Thailand"}
|
||||
expect(result.company_name).toBe("กองสรรหาบุคคล")
|
||||
expect(result.Country).toBe("Thailand")
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue