2021-03-12 22:29:27 +13:00
|
|
|
class Airtable {
|
2021-03-16 05:07:04 +13:00
|
|
|
constructor() {
|
|
|
|
this.create = jest.fn()
|
|
|
|
}
|
2021-03-12 22:29:27 +13:00
|
|
|
|
|
|
|
base() {
|
|
|
|
return () => ({
|
2021-03-16 05:07:04 +13:00
|
|
|
create: this.create,
|
2021-03-12 22:29:27 +13:00
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Airtable
|