Skip to content

Commit 475db25

Browse files
committed
Fix tests
Signed-off-by: David Kornel <[email protected]>
1 parent 1cfd4d2 commit 475db25

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/node.js.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ jobs:
2525
node-version: ${{ matrix.node-version }}
2626
- run: npm install
2727
- run: npm test
28-
env:
29-
NODE_OPTIONS: "--no-experimental-strip-types"

test/sasl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe('user-provided sasl mechanism', function () {
227227
},
228228
step: function () {
229229
stepCalled = true;
230-
this.outcome = <any>true;
230+
this.outcome = true as any;
231231
return;
232232
}
233233
};
@@ -260,7 +260,7 @@ describe('user-provided sasl mechanism', function () {
260260
},
261261
step: function () {
262262
stepCalled = true;
263-
this.outcome = <any>false;
263+
this.outcome = false as any;
264264
return;
265265
}
266266
};
@@ -300,7 +300,7 @@ describe('user-provided sasl mechanism', function () {
300300
return new Promise<void>(resolve => {
301301
process.nextTick(() => {
302302
stepCalled = true;
303-
this.outcome = <any>true;
303+
this.outcome = true as any;
304304
resolve();
305305
});
306306
});

0 commit comments

Comments
 (0)