The problem you're seeing is that FuncUnit and your application have two different instances of jQuery. The two instances can't read data set by one another.
So, If you set the data in your application, you'll need to use your application's instance of jQuery to get the data:
- S.win.$("#devLogs").data('logs')
If you set the data in your tests, you have to use FuncUnit's instance:
- S("#devLogs").data('logs')
I would use the more convenient version of
.data which will allow you to do this in one line like I've shown.