rewrite the whole codebase #12
Annotations
10 errors and 1 warning
error: expect(received).toContain(expected):
src/backends/s3/localstack-s3.test.ts#L68
Expected to contain: "test.txt"
Received: []
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:68:23
|
error: expect(received).toContain(expected):
src/backends/s3/localstack-s3.test.ts#L79
Expected to contain: "root.txt"
Received: []
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:79:23
|
error: expect(received).toContain(expected):
src/backends/s3/localstack-s3.test.ts#L91
Expected to contain: "my/prefix/nested/file.txt"
Received: []
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:91:23
|
error: expect(received).toContain(expected):
src/backends/s3/localstack-s3.test.ts#L102
Expected to contain: "my/prefix/absolute/path.txt"
Received: []
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:102:23
|
TypeError: Error reading file from S3: undefined is not an object (evaluating 'response.Body'):
src/backends/s3/s3.ts#L55
at /home/runner/work/nafs/nafs/src/backends/s3/s3.ts:55:12
|
TypeError: Error reading file from S3: undefined is not an object (evaluating 'response.Body'):
src/backends/s3/s3.ts#L55
at /home/runner/work/nafs/nafs/src/backends/s3/s3.ts:55:12
|
error::
src/backends/s3/localstack-s3.test.ts#L137
Expected promise that rejects
Received promise that resolved: Promise { <resolved> }
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:137:62
at /home/runner/work/nafs/nafs/src/backends/s3/localstack-s3.test.ts:135:39
|
error: expect(received).toEqual(expected):
src/backends/s3/parse-s3-uri.test.ts#L8
{
bucket: "bucket-name",
+ endpoint: "http://127.0.0.1:4566",
key: "",
}
- Expected - 0
+ Received + 1
at /home/runner/work/nafs/nafs/src/backends/s3/parse-s3-uri.test.ts:8:31
|
error: expect(received).toEqual(expected):
src/backends/s3/parse-s3-uri.test.ts#L16
{
bucket: "bucket-name",
+ endpoint: "http://127.0.0.1:4566",
key: "",
}
- Expected - 0
+ Received + 1
at /home/runner/work/nafs/nafs/src/backends/s3/parse-s3-uri.test.ts:16:31
|
error: expect(received).toEqual(expected):
src/backends/s3/parse-s3-uri.test.ts#L24
{
bucket: "bucket-name",
credentials: {
accessKeyId: "key",
secretAccessKey: "secret",
},
+ endpoint: "http://127.0.0.1:4566",
key: "",
region: "us-east-1",
}
- Expected - 0
+ Received + 1
at /home/runner/work/nafs/nafs/src/backends/s3/parse-s3-uri.test.ts:24:31
|
Publish
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|