]> git.proxmox.com Git - mirror_novnc.git/blobdiff - tests/test.websock.js
Update tests to work with new structure
[mirror_novnc.git] / tests / test.websock.js
index 023c7726811d861aad8b03baa3999fc3e7845889..b4835901e451980d6639304ba88799d5feda230a 100644 (file)
@@ -1,9 +1,15 @@
-// requires local modules: websock, util
-// requires test modules: fake.websocket, assertions
 /* jshint expr: true */
 var assert = chai.assert;
 var expect = chai.expect;
 
+import Websock from '../core/websock.js';
+import FakeWebSocket from './fake.websocket.js';
+
+import './assertions';
+import 'sinon';
+import sinonChai from '../node_modules/sinon-chai/lib/sinon-chai.js'
+chai.use(sinonChai);
+
 describe('Websock', function() {
     "use strict";