Skip to content

Commit a9db462

Browse files
committed
Fixing tests
1 parent 2b8804c commit a9db462

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
cache: 'npm'
32+
continue-on-error: true
3233
- run: make github-ci
3334
env:
3435
TEST_CONFIGURATION_ACCESS_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}

test/httpClient.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ describe('httpClient tests', () => {
1616
assert.ok(response);
1717
});
1818

19-
it('should return error', async () => {
19+
it('should return 404 error', async () => {
2020
await assert.rejects(
2121
async () => {
2222
await client.requestAsync({
23-
uri: 'https://www.aspose.cloud/404',
23+
uri: 'https://www.aspose.cloud/404/',
2424
headers: { 'User-Agent': 'Googlebot/2.1 (+http://www.google.com/bot.html)' },
2525
});
2626
},

0 commit comments

Comments
 (0)