Skip to content

Commit 4ff29db

Browse files
fix: remove eslint warnings (react-native-community#2142)
1 parent 2e0b122 commit 4ff29db

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.eslintrc.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ module.exports = {
99
// @todo: remove once we cover whole codebase with types
1010
plugins: ['import'],
1111
settings: {
12-
react: {
13-
version: 'latest',
14-
},
1512
'import/resolver': {
1613
// Use <rootDir>/tsconfig.json for typescript resolution
1714
typescript: {},

packages/cli-clean/src/__tests__/clean.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ describe('clean', () => {
1313
jest.resetAllMocks();
1414
});
1515

16-
it('throws if project root is not set', () => {
17-
expect(clean([], mockConfig, mockConfig)).rejects.toThrow();
16+
it('throws if project root is not set', async () => {
17+
await expect(clean([], mockConfig, mockConfig)).rejects.toThrow();
1818
});
1919

2020
it('prompts if `--include` is omitted', async () => {

0 commit comments

Comments
 (0)