Skip to content
This repository was archived by the owner on Jan 31, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
npx prettier --write "src/**/*.ts"
git add .
17 changes: 17 additions & 0 deletions __tests__/dummy.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* Dummy test case
*/
const { expect } = require('@jest/globals');
const { describe } = require('node:test');
const someDummyFunction = (a) => {
return a + ' ' + 'expected output';
};

describe('dummy testing', () => {
test('does this work?', () => {
const input = 'my input';
const expectedOutput = `${input} expected output`;
const output = someDummyFunction(input);
expect(output).toBe(expectedOutput);
});
});
Loading