journal/tool/tests.jq
2024-11-07 09:10:34 +00:00

14 lines
342 B
Plaintext

import "./testdata/tests_export" as $exportData;
include "journalUtils";
include "testLib";
def testsMain:
expectPassed(runTest(
"invalid input to experienceByTitle";
(
{} | experienceByTitle("Test")
);
. == "experienceByTitle takes a array of experiences as input";
true
)) | "Tests Passed\n" | halt_error(0);