Skip to content

Commit

Permalink
WIP Error: certificate has expired
Browse files Browse the repository at this point in the history
Signed-off-by: David Liu <david-khala@hotmail.com>
  • Loading branch information
davidkhala committed Feb 6, 2024
1 parent 2ad75ec commit 45ad6a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/axios.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: axios
on:
push:
workflow_dispatch:
defaults:
run:
working-directory: axios
Expand Down
3 changes: 1 addition & 2 deletions axios/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const logger = consoleLogger('test:axios');
describe('https', () => {
const port = 3443;
const cert = new URL('cert.pem', import.meta.url);
it.skip('ping', async () => { // TODO: skip due to :Error: certificate has expired
it('ping', async () => {


const resp = await axiosPromise({
Expand Down Expand Up @@ -58,7 +58,6 @@ describe('http: error filter', () => {
try {
await axiosPromise({url}, {rejectUnauthorized: false});
} catch (e) {
logger.error(e);
assert.strictEqual(e.statusCode, 404);
assert.strictEqual(e.statusMessage, 'Not Found');
}
Expand Down

0 comments on commit 45ad6a4

Please sign in to comment.