mercredi 27 mars 2019

Testing a exported Constant Object

im having some problems when i am testing my constants.ts file: the file contains:

constants.ts:

export const Constants = Object.freeze({
"key":"value",
"key2":"value",
"key3":"value",
"key4":"value",

})

Sonar tells me that I need to coverage the line: export const Constants = Object.freeze({.

How can i do the spec file to test it?

Im new with testing in angular, and I'm getting mad with this world xD

Aucun commentaire:

Enregistrer un commentaire