javascript - Unit testing html label -


i have label populated through angular data binding:

<label class="my-heading">{{mybinding}}</label> 

returns:

<label class="my-heading">some value</label> 

how can write unit test confirm value within label i.e some value if mock binding?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -