Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
784de8f
Prepare updating routes
dmail Mar 2, 2026
221c225
wokr
dmail Mar 2, 2026
27a4540
Prepare a route action status
dmail Mar 2, 2026
393f83c
work
dmail Mar 2, 2026
723d72d
work
dmail Mar 2, 2026
12ca47e
Prepare a details demo
dmail Mar 2, 2026
a960463
update demo
dmail Mar 2, 2026
754c33a
work
dmail Mar 2, 2026
7013409
work
dmail Mar 2, 2026
6da1c96
work
dmail Mar 2, 2026
a869339
workon details
dmail Mar 2, 2026
d132d7c
work
dmail Mar 3, 2026
762550d
work
dmail Mar 3, 2026
9c59230
work
dmail Mar 3, 2026
61fb003
work
dmail Mar 3, 2026
6da5d36
work
dmail Mar 3, 2026
3bbafb5
move details
dmail Mar 3, 2026
9b6481a
workon details
dmail Mar 3, 2026
c5c8114
workon details
dmail Mar 3, 2026
43d3d0d
workon details
dmail Mar 3, 2026
f80903d
valid react element awlays displayed by action
dmail Mar 3, 2026
01cc216
work
dmail Mar 3, 2026
462f137
work
dmail Mar 3, 2026
9ca197f
work
dmail Mar 3, 2026
c70709f
wor
dmail Mar 3, 2026
7cb46b7
work
dmail Mar 3, 2026
d3a25e3
work
dmail Mar 3, 2026
96beb71
Improve ability to textual input to have specific background and padd…
dmail Mar 3, 2026
914d4f5
work
dmail Mar 3, 2026
8c19289
work
dmail Mar 3, 2026
1eabfd3
work
dmail Mar 4, 2026
e22e8c5
work
dmail Mar 4, 2026
c030b3b
work
dmail Mar 4, 2026
6d35334
work
dmail Mar 4, 2026
ace44fd
work
dmail Mar 4, 2026
427b75e
workon aside resize
dmail Mar 4, 2026
1d71550
workon edition
dmail Mar 4, 2026
43f84fe
work
dmail Mar 4, 2026
dcee40b
workon editable stuff
dmail Mar 4, 2026
496931e
Work on editable demo
dmail Mar 4, 2026
cd01a45
work
dmail Mar 4, 2026
cd2d4dd
work
dmail Mar 4, 2026
d4b43d5
work
dmail Mar 4, 2026
865a04a
work
dmail Mar 4, 2026
9f62908
Test link with overflow ellipsis
dmail Mar 4, 2026
2abdc46
work
dmail Mar 4, 2026
4f31213
Ensure link overflow ellipsis work nicely
dmail Mar 4, 2026
0448f4f
workon link demo
dmail Mar 4, 2026
7d55952
work
dmail Mar 5, 2026
3e6b253
work
dmail Mar 5, 2026
dd3346e
work
dmail Mar 5, 2026
f670f36
work
dmail Mar 5, 2026
565c3dc
work
dmail Mar 5, 2026
8f4c106
work
dmail Mar 5, 2026
b7b9e31
Fix details action being called on mount
dmail Mar 5, 2026
0c4e296
work
dmail Mar 5, 2026
0ff964c
work
dmail Mar 5, 2026
8717ab5
wrk
dmail Mar 5, 2026
c45319f
work
dmail Mar 5, 2026
7830f34
work
dmail Mar 5, 2026
a79cda9
workon routes
dmail Mar 5, 2026
63d57b5
work on actions
dmail Mar 6, 2026
226c5b9
work
dmail Mar 6, 2026
0c334e7
work
dmail Mar 6, 2026
1f79de7
work
dmail Mar 6, 2026
a2093f0
work
dmail Mar 6, 2026
6fddbb1
work
dmail Mar 6, 2026
d89394a
work
dmail Mar 6, 2026
dd35d2e
work
dmail Mar 6, 2026
92017a5
work
dmail Mar 6, 2026
87b6a01
work
dmail Mar 6, 2026
efa26b0
work
dmail Mar 6, 2026
605e588
work
dmail Mar 6, 2026
94386f5
work
dmail Mar 6, 2026
cf09bfa
work
dmail Mar 6, 2026
dd29ced
work
dmail Mar 6, 2026
4a0ed34
work
dmail Mar 6, 2026
b887f6b
trailing slash is mandatory to allow deep match
dmail Mar 6, 2026
299301a
work
dmail Mar 6, 2026
16e0064
work
dmail Mar 6, 2026
8954f01
work
dmail Mar 6, 2026
e41a757
work
dmail Mar 6, 2026
bbe956d
work
dmail Mar 6, 2026
5df9c8a
work
dmail Mar 6, 2026
3b1115d
work
dmail Mar 6, 2026
b416336
work
dmail Mar 6, 2026
528e5e6
work
dmail Mar 6, 2026
abfd141
work
dmail Mar 6, 2026
846ea82
work
dmail Mar 6, 2026
b02999a
work
dmail Mar 6, 2026
df537ce
work
dmail Mar 6, 2026
c979834
work
dmail Mar 6, 2026
3cc18d3
work
dmail Mar 6, 2026
39daa4a
work
dmail Mar 6, 2026
4c1235e
work
dmail Mar 6, 2026
a1cc89a
work
dmail Mar 6, 2026
3cc2bc8
work
dmail Mar 6, 2026
30c737b
work
dmail Mar 6, 2026
e06cc9f
work
dmail Mar 6, 2026
a2f69bb
work
dmail Mar 6, 2026
93e98e7
work
dmail Mar 6, 2026
c8a7594
work
dmail Mar 6, 2026
fb325f0
work
dmail Mar 6, 2026
6f092e5
work
dmail Mar 6, 2026
e2d939a
work
dmail Mar 6, 2026
8aec9af
work
dmail Mar 6, 2026
8b3ee68
work
dmail Mar 7, 2026
75993c7
work
dmail Mar 7, 2026
5652dc8
work
dmail Mar 7, 2026
dddeecd
work
dmail Mar 7, 2026
a86ca87
work
dmail Mar 7, 2026
48153a9
work
dmail Mar 7, 2026
7b91e75
work
dmail Mar 7, 2026
aacea66
work
dmail Mar 7, 2026
724f7f3
work
dmail Mar 7, 2026
4f60865
work
dmail Mar 7, 2026
6244fe9
update an other test
dmail Mar 7, 2026
5f79c32
work
dmail Mar 7, 2026
a17a90c
work
dmail Mar 7, 2026
397fdc3
work
dmail Mar 7, 2026
8c3edda
work
dmail Mar 7, 2026
3361678
work
dmail Mar 7, 2026
a77768a
work
dmail Mar 7, 2026
2167205
work
dmail Mar 7, 2026
14359e0
work
dmail Mar 7, 2026
d62841d
work
dmail Mar 7, 2026
fe5d51d
work
dmail Mar 7, 2026
54ea950
work
dmail Mar 7, 2026
b5b0d03
work
dmail Mar 7, 2026
61f6571
work
dmail Mar 7, 2026
d8693b1
work
dmail Mar 7, 2026
28ce926
Change route api and action connection to routes
dmail Mar 8, 2026
2de0910
work
dmail Mar 8, 2026
785ebda
work
dmail Mar 8, 2026
f6a0ce7
work
dmail Mar 8, 2026
e997700
work
dmail Mar 8, 2026
58a6a89
work
dmail Mar 8, 2026
c97c02d
work
dmail Mar 8, 2026
b4fa965
work
dmail Mar 8, 2026
d116f5b
work
dmail Mar 9, 2026
390ac3b
work
dmail Mar 9, 2026
729d2be
work
dmail Mar 9, 2026
3bb8fc5
work
dmail Mar 9, 2026
8006a86
work
dmail Mar 9, 2026
ff5b4b8
work
dmail Mar 9, 2026
7fbdf4c
work
dmail Mar 9, 2026
897c097
work
dmail Mar 9, 2026
cc0660d
work
dmail Mar 9, 2026
2c758cf
work
dmail Mar 9, 2026
edd1019
work
dmail Mar 9, 2026
1378ab9
work
dmail Mar 9, 2026
01c77c0
work
dmail Mar 9, 2026
e6c1ff9
work
dmail Mar 9, 2026
66212b3
work
dmail Mar 9, 2026
db29016
work
dmail Mar 9, 2026
334c77a
work
dmail Mar 9, 2026
a0841e0
work
dmail Mar 9, 2026
40096bb
work
dmail Mar 9, 2026
657ec03
work
dmail Mar 9, 2026
9ce225d
work
dmail Mar 9, 2026
5791917
restore table
dmail Mar 9, 2026
85e1f63
Migrate role with ownership too
dmail Mar 9, 2026
27fa3cc
work
dmail Mar 9, 2026
ea3cfe1
work
dmail Mar 9, 2026
c5a6d2f
work
dmail Mar 9, 2026
36e6ec5
introduce navi-href-match
dmail Mar 9, 2026
2271105
work
dmail Mar 9, 2026
f38fa59
update snaps
dmail Mar 9, 2026
aac091c
update snaps
dmail Mar 9, 2026
d994ccd
work
dmail Mar 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../response_composition.test.mjs)
# [basic](../../response_composition.test.mjs)

```js
return composeTwoResponses(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [1_with_headers](../../response_composition.test.mjs)
# [with_headers](../../response_composition.test.mjs)

```js
return composeTwoResponses(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [2_etag_left_only](../../response_composition.test.mjs)
# [etag_left_only](../../response_composition.test.mjs)

```js
return composeTwoResponses(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [2_etag_override](../../response_composition.test.mjs)
# [etag_override](../../response_composition.test.mjs)

```js
return composeTwoResponses(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# [response_composition.test.mjs](../response_composition.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [1_with_headers](1_with_headers/1_with_headers.md)
- [2_etag_left_only](2_etag_left_only/2_etag_left_only.md)
- [2_etag_override](2_etag_override/2_etag_override.md)
- [basic](0_basic/0_basic.md)
- [with_headers](1_with_headers/1_with_headers.md)
- [etag_left_only](2_etag_left_only/2_etag_left_only.md)
- [etag_override](3_etag_override/3_etag_override.md)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { composeTwoResponses } from "@jsenv/server/src/internal/response_composi
import { snapshotTests } from "@jsenv/snapshot";

await snapshotTests(import.meta.url, ({ test }) => {
test("0_basic", () => {
test("basic", () => {
return composeTwoResponses(
{
headers: { foo: true },
Expand All @@ -13,7 +13,7 @@ await snapshotTests(import.meta.url, ({ test }) => {
);
});

test("1_with_headers", () => {
test("with_headers", () => {
return composeTwoResponses(
{
headers: {
Expand All @@ -29,7 +29,7 @@ await snapshotTests(import.meta.url, ({ test }) => {
);
});

test("2_etag_left_only", () => {
test("etag_left_only", () => {
return composeTwoResponses(
{
headers: {
Expand All @@ -42,7 +42,7 @@ await snapshotTests(import.meta.url, ({ test }) => {
);
});

test("2_etag_override", () => {
test("etag_override", () => {
return composeTwoResponses(
{
headers: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../hello_world.test.mjs)
# [basic](../../hello_world.test.mjs)

```js
return run({ cors: false });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [hello_world.test.mjs](../hello_world.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../not_found_by_default.test.mjs)
# [basic](../../not_found_by_default.test.mjs)

```js
return run({ cors: false });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [not_found_by_default.test.mjs](../not_found_by_default.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_regular](../../request_handling_timeout.test.mjs)
# [regular](../../request_handling_timeout.test.mjs)

```js
return run({ waitForEver: false });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [1_timing_out](../../request_handling_timeout.test.mjs)
# [timing_out](../../request_handling_timeout.test.mjs)

```js
return run({ waitForEver: true });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# [request_handling_timeout.test.mjs](../request_handling_timeout.test.mjs)


- [0_regular](0_regular/0_regular.md)
- [1_timing_out](1_timing_out/1_timing_out.md)
- [regular](0_regular/0_regular.md)
- [timing_out](1_timing_out/1_timing_out.md)

---

Expand Down
2 changes: 1 addition & 1 deletion packages/backend/server/tests/core/hello_world.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const run = async () => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_basic", async () => {
test("basic", async () => {
return run({ cors: false });
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const run = async () => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_basic", async () => {
test("basic", async () => {
return run({ cors: false });
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const run = async ({ waitForEver }) => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_regular", async () => {
test("regular", async () => {
return run({ waitForEver: false });
});
test("1_timing_out", async () => {
test("timing_out", async () => {
return run({ waitForEver: true });
});
});
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_without_cors](../../cors.test.mjs)
# [without_cors](../../cors.test.mjs)

```js
return run({ cors: false });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [1_error_without_cors](../../cors.test.mjs)
# [error_without_cors](../../cors.test.mjs)

```js
return run({ cors: false, triggerInternalError: true });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [2_with_cors](../../cors.test.mjs)
# [with_cors](../../cors.test.mjs)

```js
return run({ cors: true });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [3_error_with_cors](../../cors.test.mjs)
# [error_with_cors](../../cors.test.mjs)

```js
return run({ cors: true, triggerInternalError: true });
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# [cors.test.mjs](../cors.test.mjs)


- [0_without_cors](0_without_cors/0_without_cors.md)
- [1_error_without_cors](1_error_without_cors/1_error_without_cors.md)
- [2_with_cors](2_with_cors/2_with_cors.md)
- [3_error_with_cors](3_error_with_cors/3_error_with_cors.md)
- [without_cors](0_without_cors/0_without_cors.md)
- [error_without_cors](1_error_without_cors/1_error_without_cors.md)
- [with_cors](2_with_cors/2_with_cors.md)
- [error_with_cors](3_error_with_cors/3_error_with_cors.md)

---

Expand Down
8 changes: 4 additions & 4 deletions packages/backend/server/tests/cors/cors.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ const run = async ({ cors, triggerInternalError }) => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_without_cors", async () => {
test("without_cors", async () => {
return run({ cors: false });
});
test("1_error_without_cors", async () => {
test("error_without_cors", async () => {
return run({ cors: false, triggerInternalError: true });
});
test("2_with_cors", async () => {
test("with_cors", async () => {
return run({ cors: true });
});
test("3_error_with_cors", async () => {
test("error_with_cors", async () => {
return run({ cors: true, triggerInternalError: true });
});
});
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic_content_type](../../endpoint_negotiation.test.mjs)
# [basic_content_type](../../endpoint_negotiation.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [1_basic_language](../../endpoint_negotiation.test.mjs)
# [basic_language](../../endpoint_negotiation.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [2_multiple](../../endpoint_negotiation.test.mjs)
# [multiple](../../endpoint_negotiation.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [3_versioning](../../endpoint_negotiation.test.mjs)
# [versioning](../../endpoint_negotiation.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# [endpoint_negotiation.test.mjs](../endpoint_negotiation.test.mjs)


- [0_basic_content_type](0_basic_content_type/0_basic_content_type.md)
- [1_basic_language](1_basic_language/1_basic_language.md)
- [2_multiple](2_multiple/2_multiple.md)
- [3_versioning](3_versioning/3_versioning.md)
- [basic_content_type](0_basic_content_type/0_basic_content_type.md)
- [basic_language](1_basic_language/1_basic_language.md)
- [multiple](2_multiple/2_multiple.md)
- [versioning](3_versioning/3_versioning.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../endpoint_options.test.mjs)
# [basic](../../endpoint_options.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [endpoint_options.test.mjs](../endpoint_options.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../endpoint_patch_content_type.test.mjs)
# [basic](../../endpoint_patch_content_type.test.mjs)

```js
const routes = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [endpoint_patch_content_type.test.mjs](../endpoint_patch_content_type.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const run = async ({ routes, method, path, headers, body }) => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_basic_content_type", async () => {
test("basic_content_type", async () => {
const routes = [
{
endpoint: "GET /users",
Expand Down Expand Up @@ -84,7 +84,7 @@ await snapshotServerTests(import.meta.url, ({ test }) => {
};
});

test("1_basic_language", async () => {
test("basic_language", async () => {
const routes = [
{
endpoint: "GET /users",
Expand Down Expand Up @@ -139,7 +139,7 @@ await snapshotServerTests(import.meta.url, ({ test }) => {
};
});

test("2_multiple", async () => {
test("multiple", async () => {
const routes = [
{
endpoint: "GET /users",
Expand Down Expand Up @@ -180,7 +180,7 @@ await snapshotServerTests(import.meta.url, ({ test }) => {
};
});

test("3_versioning", async () => {
test("versioning", async () => {
const routes = [
{
endpoint: "GET /users",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const run = async ({ routes, method, path }) => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_basic", async () => {
test("basic", async () => {
const routes = [
{
endpoint: "GET /",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const run = async ({ routes, method, path, headers, body }) => {
};

await snapshotServerTests(import.meta.url, ({ test }) => {
test("0_basic", async () => {
test("basic", async () => {
const routes = [
{
acceptedMediaTypes: ["text/plain"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../http2_mtime_304.test.mjs)
# [basic](../../http2_mtime_304.test.mjs)

```js
return run();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [http2_mtime_304.test.mjs](../http2_mtime_304.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../http2_push.test.mjs)
# [basic](../../http2_push.test.mjs)

```js
return run();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [http2_push.test.mjs](../http2_push.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [0_basic](../../http2_push_prevent.test.mjs)
# [basic](../../http2_push_prevent.test.mjs)

```js
return run();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# [http2_push_prevent.test.mjs](../http2_push_prevent.test.mjs)


- [0_basic](0_basic/0_basic.md)
- [basic](0_basic/0_basic.md)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const run = async () => {
};

await snapshotTests(import.meta.url, ({ test }) => {
test("0_basic", () => {
test("basic", () => {
return run();
});
});
Loading
Loading