Rename dir _tests to __tests__ & update .codeclimate.yml (#8982)
This commit is contained in:
parent
16073c5e49
commit
50a7c2ffe0
7 changed files with 10 additions and 8 deletions
|
|
@ -56,20 +56,22 @@ plugins:
|
|||
config:
|
||||
count_threshold: 3
|
||||
exclude_patterns:
|
||||
- "**/*.test.js"
|
||||
- "**/*.test.jsx"
|
||||
- "**/.eslintrc.js"
|
||||
- "**/__stories__/"
|
||||
- "**/__tests__/"
|
||||
- "*.js"
|
||||
- "app/assets/javascripts/lib/"
|
||||
- "bin/"
|
||||
- "config/"
|
||||
- "db/"
|
||||
- "dist/"
|
||||
- "features/"
|
||||
- "lib/tasks/"
|
||||
- "node_modules/"
|
||||
- "script/"
|
||||
- "spec/"
|
||||
- "test/"
|
||||
- "tests/"
|
||||
- "vendor/"
|
||||
- "lib/tasks/"
|
||||
- "app/assets/javascripts/lib/"
|
||||
- "bin/"
|
||||
- "**/__tests__/"
|
||||
- "**/.eslintrc.js"
|
||||
- "*.js"
|
||||
- "**/__stories__/"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { h } from 'preact';
|
|||
import { axe } from 'jest-axe';
|
||||
import { render, getNodeText, fireEvent } from '@testing-library/preact';
|
||||
|
||||
import SingleArticle from './index';
|
||||
import SingleArticle from '../index';
|
||||
|
||||
const testArticle1 = {
|
||||
id: 1,
|
||||
Loading…
Add table
Reference in a new issue