Skip to content
Permalink
Browse files

Chore: Update resource loader test to not depend on peer packages

Avoids needing to build `connector-jsdom` or `formatter-json` before
running the test suite for `hint`, which avoids unnecessary circular
dependency references.
  • Loading branch information...
antross committed Aug 6, 2019
1 parent bfd3235 commit b7caa53fe6c381e554833a4cce522dcc5e3a0935
@@ -1,6 +1,4 @@
{
"connector": "jsdom",
"formatters": ["json"],
"hints": {
"@example/webhint-hint-example": "error",
"@example2/webhint-hint-example2": "error",
@@ -0,0 +1 @@
console.log('connector');
@@ -0,0 +1,6 @@
{
"main": "index.js",
"name": "@example/webhint-connector-example",
"private": true,
"version": "1.0.0"
}
@@ -393,11 +393,11 @@ test('loadResources loads all the resources of a given config (full package name
const config: Configuration = {
browserslist: [],
connector: {
name: 'jsdom',
name: '@example/webhint-connector-example',
options: {}
},
extends: ['@example/webhint-configuration-example'],
formatters: ['json'],
formatters: [],
hints: {
'@example/webhint-hint-example': 'error',
'@example2/webhint-hint-example2': 'error',

0 comments on commit b7caa53

Please sign in to comment.
You can’t perform that action at this time.