diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d8e8b92..c99f680 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,13 +15,12 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x, 21.x] + node-version: [18.x, 20.x, 21.x, 22.x, 23.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/test/sasl.ts b/test/sasl.ts index a6f4a09..361375e 100644 --- a/test/sasl.ts +++ b/test/sasl.ts @@ -227,7 +227,7 @@ describe('user-provided sasl mechanism', function () { }, step: function () { stepCalled = true; - this.outcome = true; + this.outcome = true as any; return; } }; @@ -260,7 +260,7 @@ describe('user-provided sasl mechanism', function () { }, step: function () { stepCalled = true; - this.outcome = false; + this.outcome = false as any; return; } }; @@ -300,7 +300,7 @@ describe('user-provided sasl mechanism', function () { return new Promise(resolve => { process.nextTick(() => { stepCalled = true; - this.outcome = true; + this.outcome = true as any; resolve(); }); });