[SOLVED] Unit Testing a component that uses value-converter


#1

How would i do it if i need to unit test a component that uses a global value-converter in the view ?. i am getting error that it cannot be found etc.


#2

In your stage component, you can do:

.withResource('path/to/the/vc')

#3

does it take a array ? cause i need to pass the element i want to test also correct ?


#4

Yes it seems it does. got it working thanks.