Skip to content

Commit

Permalink
test: use the complete export name
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Oct 13, 2020
1 parent 4bd5b23 commit 9c7a48d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/socket.io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ function client(srv, nsp?: string | object, opts?: object) {
describe("socket.io", () => {
it.skip("should be the same version as client", () => {
const version = require("../package").version;
expect(version).to.be(require("socket.io-client/package").version);
expect(version).to.be(require("socket.io-client/package.json").version);
});

describe("server attachment", () => {
describe("http.Server", () => {
const clientVersion = require("socket.io-client/package").version;
const clientVersion = require("socket.io-client/package.json").version;

it("should serve static files", done => {
const srv = createServer();
Expand Down

0 comments on commit 9c7a48d

Please sign in to comment.