15 lines
233 B
JavaScript
15 lines
233 B
JavaScript
class Airtable {
|
|
constructor() {}
|
|
|
|
base() {
|
|
return () => ({
|
|
query: jest.fn(),
|
|
create: jest.fn(),
|
|
select: jest.fn(),
|
|
update: jest.fn(),
|
|
destroy: jest.fn(),
|
|
})
|
|
}
|
|
}
|
|
|
|
module.exports = Airtable
|