chore: add cursor roles #205
Annotations
4 errors
error: expect(received).toEqual(expected):
test/bunfig.test.ts#L380
{
features: {
experimental: [
"exp1"
],
supported: [
"feature1",
+ "feature2"
- "feature2",
- "feature3"
],
},
middleware: [
{
name: "custom-mid",
order: 1,
},
{
config: {
type: "jwt",
},
name: "auth",
- },
- {
- name: "logger",
- order: 0,
}
],
plugins: [
"custom-plugin-1",
+ "custom-plugin-2"
- "custom-plugin-2",
- "default-plugin"
],
}
- Expected - 8
+ Received + 2
at <anonymous> (/home/runner/work/bunfig/bunfig/test/bunfig.test.ts:380:22)
|
error: expect(received).toEqual(expected):
test/bunfig.test.ts#L471
{
routes: {
api: {
endpoints: [
{
config: {
cache: {
duration: 3600,
enabled: true,
},
},
methods: [
"GET",
"POST"
],
middleware: [
"auth"
],
path: "/users",
- },
- {
- config: {
- cache: {
- enabled: false,
- },
- },
- methods: [
- "GET"
- ],
- middleware: [
- "logger"
- ],
- path: "/health",
}
],
prefix: "/api/v1",
},
},
}
- Expected - 14
+ Received + 0
at <anonymous> (/home/runner/work/bunfig/bunfig/test/bunfig.test.ts:471:22)
|
error: expect(received).toEqual(expected):
test/bunfig.test.ts#L581
{
definedValue: "exists",
nested: {
+ nullValue: null,
- nullValue: "default",
preserved: true,
+ undefinedValue: undefined,
- undefinedValue: "default",
},
+ nullValue: null,
+ undefinedValue: undefined,
- nullValue: "default",
- undefinedValue: "default",
}
- Expected - 4
+ Received + 4
at <anonymous> (/home/runner/work/bunfig/bunfig/test/bunfig.test.ts:581:22)
|
test
Process completed with exit code 1.
|