ag-grid-enterprise
ag-grid-enterprise copied to clipboard
Karma Jasmine not detecting the ag-grid-enterprise License
I have valid Enterprise license that I am using in development. I am not getting any error/warning while compiling or running the application. But when I am running Jasmine Unit Test using Karma , I am getting error-
Error:- Your license for ag-Grid Enterprise is not valid - please contact [email protected] to obtain a valid license. *
What is this , just don't understand.
Do we need to inject AG-Grid License into jasmine test cases also.
We also have this problem, which spams the test log with annoying messages. We are not sure if it also causes any problems, eg not initialising the grid properly?
Same problem here.
any updates on that?
I found a solution.
I'm setting the license on my test.ts
file.
Somewhere place
const agGridLicense = 'YOUR LICENSE GOES HERE';
LicenseManager.setLicenseKey(agGridLicense);
no more license messages thrown to the test run.