cancel
Showing results for 
Search instead for 
Did you mean: 

Reference library in Qunit test SAP UI5

09-06-2023 3:52 PM
gargswati20 Explorer
1204 views 0 comments
SAP Managed Tags
Subscribe

Hi,

I have a project where I use a custom UI5 library with some custom types. This library has many functions like formatter etc.. which are used by all other apps in the project. Both exist in the same workspace.

Before asking this question, I checked there is already a post available where the same issue was mentioned but Karma config was used.

https://answers.sap.com/questions/13528468/reference-library-and-karma-config.html

I want to check if is it possible to reference the library without using karma. If yes, how? The test script fails when the library reference is given in unitTest.qunit.html file. It says failed to load the formatter file from the library.

It would be nice if you could share your experiences with using custom libraries and provide some hints on how to load it correctly.

Accepted Solutions (0)

Answers (0)