Skip to content

Commit c4a3889

Browse files
committed
e2e
1 parent 7bca00e commit c4a3889

File tree

2 files changed

+3
-80
lines changed

2 files changed

+3
-80
lines changed
Lines changed: 2 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,2 @@
1-
Code PushUp CLI
2-
[ info ] Run collect...
3-
Code PushUp Report - @code-pushup/[email protected]
4-
5-
6-
Typescript audits
7-
8-
● AllowSyntheticDefaultImports 0
9-
● AllowUnreachableCode 0
10-
● AlwaysStrict 0
11-
● CustomConditions 0
12-
● DownlevelIteration 0
13-
● EmitBOM 0
14-
● EmitDeclarationOnly 0
15-
● EmitDecoratorMetadata 0
16-
● EsModuleInterop 0
17-
● ExactOptionalPropertyTypes 0
18-
● ExperimentalDecorators 0
19-
● ForceConsistentCasingInFileNames 0
20-
● ImportHelpers 0
21-
● IsolatedModules 0
22-
● Jsx 0
23-
● JsxFactory 0
24-
● JsxFragmentFactory 0
25-
● JsxImportSource 0
26-
● Lib 0
27-
● ModuleDetection 0
28-
● ModuleResolution 0
29-
● NoEmit 0
30-
● NoEmitHelpers 0
31-
● NoEmitOnError 0
32-
● NoFallthroughCasesInSwitch 0
33-
● NoImplicitAny 0
34-
● NoImplicitOverride 0
35-
● NoImplicitReturns 0
36-
● NoImplicitThis 0
37-
● NoLib 0
38-
● NoPropertyAccessFromIndexSignature 0
39-
● NoUncheckedIndexedAccess 0
40-
● PreserveConstEnums 0
41-
● PreserveSymlinks 0
42-
● ReactNamespace 0
43-
● RemoveComments 0
44-
● ResolvePackageJsonExports 0
45-
● ResolvePackageJsonImports 0
46-
● StrictBindCallApply 0
47-
● StrictBuiltinIteratorReturn 0
48-
● StrictFunctionTypes 0
49-
● StrictNullChecks 0
50-
● StrictPropertyInitialization 0
51-
● StripInternal 0
52-
● Target 0
53-
● UseDefineForClassFields 0
54-
● VerbatimModuleSyntax 0
55-
56-
Categories
57-
58-
┌─────────────────────────────────────────────────────────┬─────────┬──────────┐
59-
│ Category │ Score │ Audits │
60-
├─────────────────────────────────────────────────────────┼─────────┼──────────┤
61-
│ Typescript │ 100 │ 47 │
62-
└─────────────────────────────────────────────────────────┴─────────┴──────────┘
63-
64-
Made with ❤ by code-pushup.dev
65-
66-
[ success ] Generated reports successfully:
67-
[ success ] - __test__/create-report/.code-pushup/report.json (19.09 kB)
68-
[ success ] - __test__/create-report/.code-pushup/report.md (10.51 kB)
69-
[ success ] Collecting report successful!
70-
╭────────────────────────────────────────────────────────────────────────────────────────────╮
71-
│ │
72-
│ 💡 Visualize your reports │
73-
│ │
74-
│ ❯ npx code-pushup upload - Run upload to upload the created report to the server │
75-
│ https://github.com/code-pushup/cli/tree/main/packages/cli#upload-command │
76-
│ ❯ npx code-pushup autorun - Run collect & upload │
77-
│ https://github.com/code-pushup/cli/tree/main/packages/cli#autorun-command │
78-
│ │
79-
╰────────────────────────────────────────────────────────────────────────────────────────────╯
1+
[ success ] - __test__/create-report/.code-pushup/report.json (19.08 kB)
2+
[ success ] - __test__/create-report/.code-pushup/report.md (10.5 kB)

e2e/plugin-typescript-e2e/tests/collect.e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('PLUGIN collect report with typescript-plugin NPM package', () => {
5555

5656
expect(code).toBe(0);
5757
const cleanStdout = removeColorCodes(stdout);
58-
expect(cleanStdout).toMatchFileSnapshot(
58+
expect(cleanStdout.split('\n').filter(l => l.startsWith('[ success ] -')).join('\n')).toMatchFileSnapshot(
5959
'__snapshots__/typescript-plugin-terminal-report.txt',
6060
);
6161

0 commit comments

Comments
 (0)