Hey Everyone,
I am trying to understand why is TestDriver returning a “is not a constructor” error. Here is a snippet of the code.
import React from 'react';
import TestDriver from '@airtable/blocks-testing';
import roninRecord from '../tableSample/RoninAccount';
import {
getRoninAddress,
} from '../frontend/Helper Functions/airtable/func';
describe("Get Ronin Address",()=>{
let testDriver = new TestDriver(roninRecord);
it("Should return a list of all ronin addresses",async ()=>{
expect(0).toBe(0);
});
});
I can confirm I have installed the packages. Unsure what could be the issue. I appreciate any advice :pray: