Rename dir _tests to __tests__ & update .codeclimate.yml (#8982)

This commit is contained in:
Mac Siri 2020-06-29 15:18:39 -04:00 committed by GitHub
parent 16073c5e49
commit 50a7c2ffe0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 8 deletions

View file

@ -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__/"

View file

@ -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,