Skip to content

Commit 242428f

Browse files
author
John Doe
committed
refactor: intro test-fixtures project 2
1 parent ec56398 commit 242428f

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
export default {
2+
upload: {
3+
organization: 'code-pushup',
4+
project: 'cli-js',
5+
apiKey: 'e2e-api-key',
6+
server: 'https://e2e.com/api',
7+
},
8+
categories: [
9+
{
10+
slug: 'category-1',
11+
title: 'Category 1',
12+
refs: [
13+
{
14+
type: 'audit',
15+
plugin: 'node',
16+
slug: 'node-version',
17+
weight: 1,
18+
},
19+
],
20+
},
21+
],
22+
plugins: [
23+
{
24+
audits: [
25+
{
26+
slug: 'node-version',
27+
title: 'Node version',
28+
description: 'prints node version to file',
29+
docsUrl: 'https://nodejs.org/',
30+
},
31+
],
32+
runner: {
33+
command: 'node',
34+
args: ['-v'],
35+
outputFile: 'output.json',
36+
},
37+
groups: [],
38+
slug: 'node',
39+
title: 'Node.js',
40+
icon: 'javascript',
41+
},
42+
],
43+
};
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
export default {
2+
upload: {
3+
organization: 'code-pushup',
4+
project: 'cli-mjs',
5+
apiKey: 'e2e-api-key',
6+
server: 'https://e2e.com/api',
7+
},
8+
categories: [
9+
{
10+
slug: 'category-1',
11+
title: 'Category 1',
12+
refs: [
13+
{
14+
type: 'audit',
15+
plugin: 'node',
16+
slug: 'node-version',
17+
weight: 1,
18+
},
19+
],
20+
},
21+
],
22+
plugins: [
23+
{
24+
audits: [
25+
{
26+
slug: 'node-version',
27+
title: 'Node version',
28+
description: 'prints node version to file',
29+
docsUrl: 'https://nodejs.org/',
30+
},
31+
],
32+
runner: {
33+
command: 'node',
34+
args: ['-v'],
35+
outputFile: 'output.json',
36+
},
37+
groups: [],
38+
slug: 'node',
39+
title: 'Node.js',
40+
icon: 'javascript',
41+
},
42+
],
43+
};

0 commit comments

Comments
 (0)