add timestamp to saved image to prevent replace #16
release.yaml
on: push
Run bun test
32s
Publish to NPM
Annotations
3 errors
|
Run bun test
Process completed with exit code 1.
|
|
error: expect(received).toBeUndefined():
tests/1_request.test.ts#L34
Received: 13 |
14 | const res = await reqs.text();
15 |
16 | if (!reqs.ok) {
17 | return {
18 | Err: new Error(res)
^
error: <html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body>
<center><h1>503 Service Temporarily Unavailable</h1></center>
</body>
</html>
at <anonymous> (/home/runner/work/imageFX-api/imageFX-api/src/utils/request.ts:18:14)
at <anonymous> (/home/runner/work/imageFX-api/imageFX-api/tests/1_request.test.ts:34:20)
|
|
error: expect(received).toBeUndefined():
tests/1_request.test.ts#L14
Received: 13 |
14 | const res = await reqs.text();
15 |
16 | if (!reqs.ok) {
17 | return {
18 | Err: new Error(res)
^
error: <html>
<head><title>503 Service Temporarily Unavailable</title></head>
<body>
<center><h1>503 Service Temporarily Unavailable</h1></center>
</body>
</html>
at <anonymous> (/home/runner/work/imageFX-api/imageFX-api/src/utils/request.ts:18:14)
at <anonymous> (/home/runner/work/imageFX-api/imageFX-api/tests/1_request.test.ts:14:20)
|