Skip to content

Commit

Permalink
commiting outstanding items that were in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro5id committed May 4, 2024
1 parent 72952af commit 39b797b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"kavod-io.vscode-jest-test-adapter",
"nilobarp.javascript-test-runner",
"vespa-dev-works.jestRunIt",
"andys8.jest-snippets"
"andys8.jest-snippets",
"trunk.io"
]
}
}
Expand Down
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
README.md
test-project
definition-manifest.json
.vscode
.npmignore
6 changes: 6 additions & 0 deletions test/cron-parsing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ describe('cron parsing tests', function () {
);
});

it('parse cron 30 8 * 1-5,9-12 0,6', function () {
// this should mean the same as "30 8 * 1-5,9-12 7,6"
const result = parseCronParts('30 8 * 1-5,9-12 0,6');
expect(result.english).eql('At 00:00 on day-of-month 1 and 15 and on Wednesday');
});

it('parse cron 0 0 1,15 * 3', function () {
const result = parseCronParts('0 0 1,15 * 3');
expect(result.english).eql('At 00:00 on day-of-month 1 and 15 and on Wednesday');
Expand Down

0 comments on commit 39b797b

Please sign in to comment.