Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

TestDriver failing to be recognized

Topic Labels: Custom Extensions
436 0
cancel
Showing results for 
Search instead for 
Did you mean: 

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:

0 Replies 0