Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit f24d489

Browse files
author
Gabriel Schulhof
committed
Tests: Remove methods enablePresence and disablePresence from server structure
1 parent 63a844f commit f24d489

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/Structure - Server.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
var server = require( process.argv[ 3 ] ).server;
1616

17-
console.log( JSON.stringify( { assertionCount: 4 } ) );
17+
console.log( JSON.stringify( { assertionCount: 2 } ) );
1818

1919
console.log( JSON.stringify( { assertion: "strictEqual", arguments: [
2020
typeof server.register, "function", "server.register is a function"
@@ -24,12 +24,4 @@ console.log( JSON.stringify( { assertion: "strictEqual", arguments: [
2424
typeof server.oncreate, "function", "server.oncreate is a function"
2525
] } ) );
2626

27-
console.log( JSON.stringify( { assertion: "strictEqual", arguments: [
28-
typeof server.enablePresence, "function", "server.enablePresence is a function"
29-
] } ) );
30-
31-
console.log( JSON.stringify( { assertion: "strictEqual", arguments: [
32-
typeof server.disablePresence, "function", "server.disablePresence is a function"
33-
] } ) );
34-
3527
console.log( JSON.stringify( { finished: 0 } ) );

0 commit comments

Comments
 (0)