summaryrefslogtreecommitdiff
path: root/src/flatmatter.test.ts
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-02-14 02:36:36 +0200
committerAsko Nõmm <asko@nmm.ee>2025-02-14 02:36:36 +0200
commitbe540813f47e269a5e255344c6af50b2eee0e2c8 (patch)
tree2506a9bf5cbb7764b24d8ec6c0612b64e8391385 /src/flatmatter.test.ts
parent670dbc07239fb860961055eb7af6823786e4febe (diff)
Simplify
Diffstat (limited to 'src/flatmatter.test.ts')
-rw-r--r--src/flatmatter.test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flatmatter.test.ts b/src/flatmatter.test.ts
index 8e480fc..17954d3 100644
--- a/src/flatmatter.test.ts
+++ b/src/flatmatter.test.ts
@@ -87,7 +87,9 @@ test("Piped function by call usage", () => {
test("Invalid value in pipe", () => {
const config = FlatMatter.config('a: "value" / / asd');
- expect(config).toStrictEqual({});
+ expect(config).toStrictEqual({
+ a: "value",
+ });
});
test("Invalid value in pipe, 2", () => {