sinon.assert.called(randomPort.disconnect);
});
-test('messageExternal("hello") should return supportedFeatures', function() {
- var response = null;
- function callback(msg) {
- response = msg;
- }
-
- it2meService.onMessageExternal_({
- method: 'hello'
- }, null, callback);
-
- QUnit.ok(response.supportedFeatures instanceof Array);
-});
-
})();
\ No newline at end of file