Help

TestDriver failing to be recognized

Topic Labels: Custom Extensions
783 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Alec_Kerr
4 - Data Explorer
4 - Data Explorer

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