Skip to content

Commit

Permalink
Merge pull request #75 from azeezat/feat/unit-tests
Browse files Browse the repository at this point in the history
chore: added unit tests
  • Loading branch information
azeezat authored Jun 27, 2024
2 parents 3adf8dc + 2abe75f commit 1473bde
Show file tree
Hide file tree
Showing 10 changed files with 2,458 additions and 2,410 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint && yarn typescript
yarn lint && yarn test && yarn typescript
7 changes: 7 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
overrides: [{
"plugins": [
["@babel/plugin-transform-private-methods", {
"loose": true
}]
]
}]
};
2 changes: 1 addition & 1 deletion example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
root: true,
extends: '@react-native',
extends: ['@react-native', "@babel/plugin-transform-private-property-in-object"],
};
Loading

0 comments on commit 1473bde

Please sign in to comment.