2021-03-12 10:29:27 +01:00
|
|
|
class Airtable {
|
2021-03-15 17:07:04 +01:00
|
|
|
constructor() {
|
|
|
|
this.create = jest.fn()
|
|
|
|
}
|
2021-03-12 10:29:27 +01:00
|
|
|
|
|
|
|
base() {
|
|
|
|
return () => ({
|
2021-03-15 17:07:04 +01:00
|
|
|
create: this.create,
|
2021-03-12 10:29:27 +01:00
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Airtable
|