Skip to content

Commit fa4fa96

Browse files
committed
fix: translate _ should set args to undefined if not provided
build: added tests
1 parent dcb5dee commit fa4fa96

File tree

6 files changed

+4860
-1218
lines changed

6 files changed

+4860
-1218
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ jobs:
2626
run: npm run lint
2727
- name: Check format
2828
run: npm run prettier:check
29-
# Disabling tests
30-
#- name: Run tests
31-
# run: npm run test -- --coverage
29+
- name: Run tests
30+
run: npm run test -- --coverage
3231
- name: Build
3332
run: npm run build
34-
#- name: Upload coverage reports to Codecov
35-
# uses: codecov/codecov-action@v3
36-
# env:
37-
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
33+
- name: Upload coverage reports to Codecov
34+
uses: codecov/codecov-action@v3
35+
env:
36+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3837
- uses: stefanzweifel/git-auto-commit-action@v5
3938
if: ${{ github.ref == 'refs/heads/main' }}
4039
with:

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} **/
2+
module.exports = {
3+
testEnvironment: "node",
4+
transform: {
5+
"^.+\.tsx?$": ["ts-jest",{}],
6+
},
7+
};

0 commit comments

Comments
 (0)