@contractkit/plugin-bruno 0.10.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
 
2
- > @contractkit/plugin-bruno@0.10.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.0.0 build:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
3
3
  > eslint --max-warnings=0 && pnpm run build
4
4
 
5
5
 
6
- > @contractkit/plugin-bruno@0.10.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
6
+ > @contractkit/plugin-bruno@1.0.0 build /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
7
7
  > tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration
8
8
 
9
9
  CLI Building entry: src/index.ts
@@ -11,9 +11,9 @@
11
11
  CLI tsup v8.5.1
12
12
  CLI Target: esnext
13
13
  ESM Build start
14
- ESM dist/index.js 21.63 KB
15
- ESM dist/index.js.map 51.98 KB
16
- ESM ⚡️ Build success in 175ms
14
+ ESM dist/index.js 20.98 KB
15
+ ESM dist/index.js.map 50.34 KB
16
+ ESM ⚡️ Build success in 158ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 3273ms
19
- DTS dist/index.d.ts 2.53 KB
18
+ DTS ⚡️ Build success in 3705ms
19
+ DTS dist/index.d.ts 2.09 KB
@@ -1,26 +1,25 @@
1
1
 
2
- > @contractkit/plugin-bruno@0.10.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
2
+ > @contractkit/plugin-bruno@1.0.0 test:ci /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
3
3
  > vitest run --coverage
4
4
 
5
5
 
6
6
   RUN  v4.1.5 /home/runner/work/ContractKit/ContractKit/packages/plugin-bruno
7
7
  Coverage enabled with v8
8
8
 
9
- ✓ tests/codegen-bruno.test.ts (98 tests) 220ms
9
+ ✓ tests/codegen-bruno.test.ts (96 tests) 489ms
10
10
 
11
11
   Test Files  1 passed (1)
12
-  Tests  98 passed (98)
13
-  Start at  17:30:31
14
-  Duration  5.24s (transform 1.48s, setup 0ms, import 3.93s, tests 220ms, environment 0ms)
12
+  Tests  96 passed (96)
13
+  Start at  18:49:07
14
+  Duration  4.73s (transform 1.31s, setup 0ms, import 3.04s, tests 489ms, environment 0ms)
15
15
 
16
16
   % Coverage report from v8
17
17
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
18
18
  File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
19
19
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
20
- All files | 80.2 | 73.2 | 85.52 | 80.96 |
21
- src | 80.84 | 72.75 | 90.19 | 81.21 |
20
+ All files | 85.26 | 76.65 | 85.91 | 87.05 |
21
+ src | 86.73 | 76.56 | 91.3 | 88.19 |
22
22
  codegen-bruno.ts | 86.73 | 76.56 | 91.3 | 88.19 | 285-286,370,378,431-434,441-448,468,474,478-480,496,506,530,540-542,548-550,555,559-567,576,580
23
- index.ts | 41.3 | 44.11 | 80 | 37.2 | 45-61,128-155
24
23
  tests | 75 | 77.41 | 76 | 78.94 |
25
24
  helpers.ts | 75 | 77.41 | 76 | 78.94 | 43-47,55-59,71,113,133,145
26
25
  -------------------|---------|----------|---------|---------|-------------------------------------------------------------------------------------------------
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @contractkit/contractkit-plugin-bruno
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 7555412: Drop the `overrideDir` config option from the Bruno plugin.
8
+
9
+ Per-operation overrides via `plugins: { bruno: "..." }` combined with the new `{{var}}` substitution in `.ck` files cover the same use cases more directly. Define a shared base path once in `options { keys: { bruno: "../bruno-overrides" } }` (or in the plugin's `keys` config in `contractkit.config.json` for a workspace-wide default) and reference per-operation override files with `plugins: { bruno: "{{bruno}}/path/to/file.yml" }`.
10
+
11
+ Migration: replace the `overrideDir` entry in your plugin config with a per-operation `plugins.bruno` declaration on each operation that needs an override.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [7555412]
16
+ - @contractkit/core@0.13.0
17
+
3
18
  ## 0.10.0
4
19
 
5
20
  ### Minor Changes
package/README.md CHANGED
@@ -39,7 +39,6 @@ pnpm add @contractkit/contractkit-plugin-bruno
39
39
  | `collectionName` | `string` | basename of `rootDir` | Collection name shown in Bruno |
40
40
  | `randomExamples` | `boolean` | `true` | Use Bruno faker templates (`{{$randomUUID}}`, `{{$randomEmail}}`, etc.) for compatible scalar fields so each send produces fresh data. Set to `false` for stable, deterministic placeholders. |
41
41
  | `includeInternal` | `boolean` | `true` | Include operations marked `internal`. Set to `false` to omit them from the collection. |
42
- | `overrideDir` | `string` | — | Directory of YAML override files (relative to `rootDir`). Files mirror the generated output structure and are deep-merged at codegen time. See [Directory overrides](#directory-overrides). |
43
42
  | `auth.defaultScheme` | `string` | — | Key from `auth.schemes` to apply by default |
44
43
  | `auth.schemes` | `object` | — | Map of scheme name → security scheme definition |
45
44
 
@@ -87,30 +86,23 @@ runtime:
87
86
  bru.setVar("token", bru.getEnvVar("adminToken"));
88
87
  ```
89
88
 
90
- ## Directory overrides
89
+ Authoring tip: combine per-operation `plugins.bruno` paths with `{{var}}` substitution to factor out a shared override directory:
91
90
 
92
- Set `overrideDir` to a directory that mirrors the generated output structure. Any file found there is deep-merged into the matching generated file:
93
-
94
- ```
95
- bruno-overrides/
96
- ├── opencollection.yml # merged into collection root
97
- ├── environments/
98
- │ └── local.yml # merged into the Local environment
99
- └── payments/
100
- └── get-payment.yml # merged into that request file
101
91
  ```
92
+ options {
93
+ keys: { bruno: "../../bruno-overrides" }
94
+ }
102
95
 
103
- ```json
104
- {
105
- "plugins": {
106
- "@contractkit/contractkit-plugin-bruno": {
107
- "output": "bruno-collection",
108
- "overrideDir": "bruno-overrides"
96
+ operation /payments/{id}: {
97
+ get: {
98
+ plugins: { bruno: "{{bruno}}/payments/get-payment.yml" }
99
+ response: { 200: { application/json: Payment } }
109
100
  }
110
- }
111
101
  }
112
102
  ```
113
103
 
104
+ The `{{bruno}}` reference can also be supplied workspace-wide via the plugin's `keys` config in `contractkit.config.json`.
105
+
114
106
  ## Programmatic use
115
107
 
116
108
  ```typescript
@@ -1,98 +1,98 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1777656636832" clover="3.2.0">
3
- <project timestamp="1777656636832" name="All files">
4
- <metrics statements="352" coveredstatements="285" conditionals="321" coveredconditionals="235" methods="76" coveredmethods="65" elements="749" coveredelements="585" complexity="0" loc="352" ncloc="352" packages="2" files="3" classes="3"/>
2
+ <coverage generated="1777661352701" clover="3.2.0">
3
+ <project timestamp="1777661352702" name="All files">
4
+ <metrics statements="309" coveredstatements="269" conditionals="287" coveredconditionals="220" methods="71" coveredmethods="61" elements="667" coveredelements="550" complexity="0" loc="309" ncloc="309" packages="2" files="2" classes="2"/>
5
5
  <package name="src">
6
- <metrics statements="314" coveredstatements="255" conditionals="290" coveredconditionals="211" methods="51" coveredmethods="46"/>
6
+ <metrics statements="271" coveredstatements="239" conditionals="256" coveredconditionals="196" methods="46" coveredmethods="42"/>
7
7
  <file name="codegen-bruno.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-bruno/src/codegen-bruno.ts">
8
8
  <metrics statements="271" coveredstatements="239" conditionals="256" coveredconditionals="196" methods="46" coveredmethods="42"/>
9
9
  <line num="23" count="1" type="stmt"/>
10
- <line num="66" count="90" type="stmt"/>
11
- <line num="68" count="90" type="cond" truecount="2" falsecount="0"/>
12
- <line num="69" count="90" type="stmt"/>
13
- <line num="70" count="90" type="cond" truecount="2" falsecount="0"/>
14
- <line num="71" count="90" type="cond" truecount="2" falsecount="0"/>
15
- <line num="72" count="90" type="cond" truecount="2" falsecount="0"/>
16
- <line num="74" count="90" type="stmt"/>
17
- <line num="75" count="90" type="stmt"/>
18
- <line num="78" count="90" type="stmt"/>
19
- <line num="79" count="90" type="stmt"/>
20
- <line num="80" count="90" type="cond" truecount="2" falsecount="0"/>
21
- <line num="81" count="90" type="cond" truecount="4" falsecount="0"/>
22
- <line num="83" count="90" type="stmt"/>
23
- <line num="85" count="90" type="stmt"/>
24
- <line num="86" count="90" type="cond" truecount="2" falsecount="0"/>
25
- <line num="87" count="90" type="cond" truecount="2" falsecount="0"/>
26
- <line num="89" count="90" type="cond" truecount="2" falsecount="0"/>
10
+ <line num="66" count="87" type="stmt"/>
11
+ <line num="68" count="87" type="cond" truecount="2" falsecount="0"/>
12
+ <line num="69" count="87" type="stmt"/>
13
+ <line num="70" count="87" type="cond" truecount="2" falsecount="0"/>
14
+ <line num="71" count="87" type="cond" truecount="2" falsecount="0"/>
15
+ <line num="72" count="87" type="cond" truecount="2" falsecount="0"/>
16
+ <line num="74" count="87" type="stmt"/>
17
+ <line num="75" count="87" type="stmt"/>
18
+ <line num="78" count="87" type="stmt"/>
19
+ <line num="79" count="87" type="stmt"/>
20
+ <line num="80" count="87" type="cond" truecount="2" falsecount="0"/>
21
+ <line num="81" count="87" type="cond" truecount="4" falsecount="0"/>
22
+ <line num="83" count="87" type="stmt"/>
23
+ <line num="85" count="87" type="stmt"/>
24
+ <line num="86" count="87" type="cond" truecount="2" falsecount="0"/>
25
+ <line num="87" count="87" type="cond" truecount="2" falsecount="0"/>
26
+ <line num="89" count="87" type="cond" truecount="2" falsecount="0"/>
27
27
  <line num="90" count="4" type="stmt"/>
28
28
  <line num="91" count="4" type="stmt"/>
29
- <line num="94" count="90" type="stmt"/>
30
- <line num="95" count="90" type="stmt"/>
31
- <line num="96" count="91" type="stmt"/>
32
- <line num="97" count="95" type="cond" truecount="4" falsecount="0"/>
33
- <line num="98" count="94" type="cond" truecount="2" falsecount="0"/>
34
- <line num="99" count="95" type="cond" truecount="2" falsecount="0"/>
35
- <line num="100" count="95" type="stmt"/>
36
- <line num="101" count="95" type="stmt"/>
37
- <line num="102" count="95" type="cond" truecount="2" falsecount="0"/>
29
+ <line num="94" count="87" type="stmt"/>
30
+ <line num="95" count="87" type="stmt"/>
31
+ <line num="96" count="88" type="stmt"/>
32
+ <line num="97" count="92" type="cond" truecount="4" falsecount="0"/>
33
+ <line num="98" count="91" type="cond" truecount="2" falsecount="0"/>
34
+ <line num="99" count="92" type="cond" truecount="2" falsecount="0"/>
35
+ <line num="100" count="92" type="stmt"/>
36
+ <line num="101" count="92" type="stmt"/>
37
+ <line num="102" count="92" type="cond" truecount="2" falsecount="0"/>
38
38
  <line num="103" count="5" type="stmt"/>
39
- <line num="105" count="94" type="stmt"/>
40
- <line num="106" count="94" type="stmt"/>
41
- <line num="111" count="368" type="stmt"/>
42
- <line num="112" count="90" type="stmt"/>
43
- <line num="117" count="90" type="stmt"/>
39
+ <line num="105" count="91" type="stmt"/>
40
+ <line num="106" count="91" type="stmt"/>
41
+ <line num="111" count="356" type="stmt"/>
42
+ <line num="112" count="87" type="stmt"/>
43
+ <line num="117" count="87" type="stmt"/>
44
44
  <line num="122" count="5" type="stmt"/>
45
45
  <line num="123" count="5" type="stmt"/>
46
46
  <line num="124" count="7" type="cond" truecount="4" falsecount="0"/>
47
47
  <line num="125" count="1" type="stmt"/>
48
48
  <line num="130" count="4" type="stmt"/>
49
- <line num="136" count="22" type="cond" truecount="2" falsecount="0"/>
50
- <line num="144" count="14" type="stmt"/>
51
- <line num="145" count="14" type="stmt"/>
52
- <line num="146" count="14" type="stmt"/>
53
- <line num="148" count="14" type="stmt"/>
54
- <line num="150" count="8" type="stmt"/>
55
- <line num="165" count="11" type="stmt"/>
56
- <line num="166" count="11" type="cond" truecount="5" falsecount="0"/>
49
+ <line num="136" count="20" type="cond" truecount="2" falsecount="0"/>
50
+ <line num="144" count="13" type="stmt"/>
51
+ <line num="145" count="13" type="stmt"/>
52
+ <line num="146" count="13" type="stmt"/>
53
+ <line num="148" count="13" type="stmt"/>
54
+ <line num="150" count="7" type="stmt"/>
55
+ <line num="165" count="10" type="stmt"/>
56
+ <line num="166" count="10" type="cond" truecount="5" falsecount="0"/>
57
57
  <line num="167" count="3" type="stmt"/>
58
- <line num="169" count="8" type="stmt"/>
59
- <line num="170" count="8" type="stmt"/>
60
- <line num="176" count="90" type="stmt"/>
61
- <line num="177" count="90" type="cond" truecount="2" falsecount="0"/>
58
+ <line num="169" count="7" type="stmt"/>
59
+ <line num="170" count="7" type="stmt"/>
60
+ <line num="176" count="87" type="stmt"/>
61
+ <line num="177" count="87" type="cond" truecount="2" falsecount="0"/>
62
62
  <line num="178" count="6" type="stmt"/>
63
63
  <line num="179" count="6" type="stmt"/>
64
64
  <line num="180" count="6" type="stmt"/>
65
- <line num="182" count="90" type="stmt"/>
66
- <line num="183" count="90" type="stmt"/>
67
- <line num="187" count="90" type="stmt"/>
68
- <line num="188" count="90" type="cond" truecount="2" falsecount="0"/>
65
+ <line num="182" count="87" type="stmt"/>
66
+ <line num="183" count="87" type="stmt"/>
67
+ <line num="187" count="87" type="stmt"/>
68
+ <line num="188" count="87" type="cond" truecount="2" falsecount="0"/>
69
69
  <line num="189" count="6" type="stmt"/>
70
70
  <line num="190" count="7" type="stmt"/>
71
71
  <line num="191" count="7" type="stmt"/>
72
- <line num="194" count="90" type="stmt"/>
73
- <line num="195" count="90" type="stmt"/>
74
- <line num="199" count="94" type="stmt"/>
75
- <line num="212" count="94" type="stmt"/>
76
- <line num="214" count="94" type="stmt"/>
77
- <line num="215" count="94" type="stmt"/>
78
- <line num="216" count="94" type="stmt"/>
79
- <line num="217" count="94" type="stmt"/>
80
- <line num="218" count="94" type="stmt"/>
81
- <line num="219" count="94" type="stmt"/>
82
- <line num="220" count="94" type="stmt"/>
83
- <line num="221" count="94" type="stmt"/>
84
- <line num="225" count="94" type="stmt"/>
85
- <line num="231" count="94" type="cond" truecount="2" falsecount="0"/>
72
+ <line num="194" count="87" type="stmt"/>
73
+ <line num="195" count="87" type="stmt"/>
74
+ <line num="199" count="91" type="stmt"/>
75
+ <line num="212" count="91" type="stmt"/>
76
+ <line num="214" count="91" type="stmt"/>
77
+ <line num="215" count="91" type="stmt"/>
78
+ <line num="216" count="91" type="stmt"/>
79
+ <line num="217" count="91" type="stmt"/>
80
+ <line num="218" count="91" type="stmt"/>
81
+ <line num="219" count="91" type="stmt"/>
82
+ <line num="220" count="91" type="stmt"/>
83
+ <line num="221" count="91" type="stmt"/>
84
+ <line num="225" count="91" type="stmt"/>
85
+ <line num="231" count="91" type="cond" truecount="2" falsecount="0"/>
86
86
  <line num="232" count="15" type="stmt"/>
87
- <line num="234" count="94" type="stmt"/>
88
- <line num="236" count="94" type="cond" truecount="2" falsecount="0"/>
87
+ <line num="234" count="91" type="stmt"/>
88
+ <line num="236" count="91" type="cond" truecount="2" falsecount="0"/>
89
89
  <line num="237" count="20" type="stmt"/>
90
90
  <line num="238" count="20" type="stmt"/>
91
91
  <line num="239" count="29" type="stmt"/>
92
92
  <line num="240" count="29" type="stmt"/>
93
93
  <line num="241" count="29" type="stmt"/>
94
94
  <line num="242" count="29" type="cond" truecount="4" falsecount="0"/>
95
- <line num="247" count="94" type="cond" truecount="2" falsecount="0"/>
95
+ <line num="247" count="91" type="cond" truecount="2" falsecount="0"/>
96
96
  <line num="248" count="4" type="stmt"/>
97
97
  <line num="249" count="4" type="cond" truecount="1" falsecount="1"/>
98
98
  <line num="250" count="4" type="stmt"/>
@@ -100,13 +100,13 @@
100
100
  <line num="252" count="6" type="stmt"/>
101
101
  <line num="253" count="6" type="stmt"/>
102
102
  <line num="254" count="6" type="cond" truecount="2" falsecount="0"/>
103
- <line num="260" count="94" type="cond" truecount="2" falsecount="0"/>
103
+ <line num="260" count="91" type="cond" truecount="2" falsecount="0"/>
104
104
  <line num="261" count="6" type="cond" truecount="1" falsecount="3"/>
105
105
  <line num="262" count="6" type="cond" truecount="2" falsecount="0"/>
106
106
  <line num="263" count="1" type="stmt"/>
107
107
  <line num="264" count="1" type="stmt"/>
108
108
  <line num="266" count="5" type="stmt"/>
109
- <line num="271" count="94" type="cond" truecount="4" falsecount="0"/>
109
+ <line num="271" count="91" type="cond" truecount="4" falsecount="0"/>
110
110
  <line num="272" count="19" type="stmt"/>
111
111
  <line num="278" count="57" type="cond" truecount="1" falsecount="1"/>
112
112
  <line num="280" count="19" type="stmt"/>
@@ -121,10 +121,10 @@
121
121
  <line num="290" count="18" type="stmt"/>
122
122
  <line num="291" count="18" type="stmt"/>
123
123
  <line num="292" count="60" type="stmt"/>
124
- <line num="298" count="94" type="stmt"/>
125
- <line num="299" count="94" type="stmt"/>
126
- <line num="300" count="94" type="cond" truecount="2" falsecount="0"/>
127
- <line num="301" count="94" type="cond" truecount="2" falsecount="0"/>
124
+ <line num="298" count="91" type="stmt"/>
125
+ <line num="299" count="91" type="stmt"/>
126
+ <line num="300" count="91" type="cond" truecount="2" falsecount="0"/>
127
+ <line num="301" count="91" type="cond" truecount="2" falsecount="0"/>
128
128
  <line num="302" count="10" type="stmt"/>
129
129
  <line num="303" count="10" type="stmt"/>
130
130
  <line num="304" count="10" type="stmt"/>
@@ -135,28 +135,28 @@
135
135
  <line num="311" count="1" type="stmt"/>
136
136
  <line num="312" count="1" type="stmt"/>
137
137
  <line num="313" count="1" type="stmt"/>
138
- <line num="318" count="94" type="stmt"/>
139
- <line num="319" count="94" type="cond" truecount="2" falsecount="0"/>
138
+ <line num="318" count="91" type="stmt"/>
139
+ <line num="319" count="91" type="cond" truecount="2" falsecount="0"/>
140
140
  <line num="320" count="3" type="stmt"/>
141
141
  <line num="321" count="3" type="stmt"/>
142
142
  <line num="322" count="3" type="stmt"/>
143
143
  <line num="323" count="8" type="stmt"/>
144
- <line num="327" count="94" type="stmt"/>
145
- <line num="328" count="94" type="stmt"/>
146
- <line num="333" count="94" type="cond" truecount="2" falsecount="0"/>
147
- <line num="334" count="94" type="cond" truecount="2" falsecount="0"/>
148
- <line num="339" count="94" type="stmt"/>
149
- <line num="340" count="94" type="cond" truecount="2" falsecount="0"/>
150
- <line num="341" count="94" type="cond" truecount="2" falsecount="0"/>
151
- <line num="342" count="94" type="cond" truecount="2" falsecount="0"/>
152
- <line num="343" count="94" type="cond" truecount="2" falsecount="0"/>
144
+ <line num="327" count="91" type="stmt"/>
145
+ <line num="328" count="91" type="stmt"/>
146
+ <line num="333" count="91" type="cond" truecount="2" falsecount="0"/>
147
+ <line num="334" count="91" type="cond" truecount="2" falsecount="0"/>
148
+ <line num="339" count="91" type="stmt"/>
149
+ <line num="340" count="91" type="cond" truecount="2" falsecount="0"/>
150
+ <line num="341" count="91" type="cond" truecount="2" falsecount="0"/>
151
+ <line num="342" count="91" type="cond" truecount="2" falsecount="0"/>
152
+ <line num="343" count="91" type="cond" truecount="2" falsecount="0"/>
153
153
  <line num="344" count="1" type="stmt"/>
154
154
  <line num="345" count="1" type="stmt"/>
155
155
  <line num="346" count="2" type="cond" truecount="2" falsecount="0"/>
156
156
  <line num="347" count="2" type="cond" truecount="2" falsecount="0"/>
157
157
  <line num="348" count="2" type="stmt"/>
158
158
  <line num="350" count="1" type="stmt"/>
159
- <line num="352" count="94" type="cond" truecount="2" falsecount="0"/>
159
+ <line num="352" count="91" type="cond" truecount="2" falsecount="0"/>
160
160
  <line num="359" count="6" type="stmt"/>
161
161
  <line num="360" count="6" type="cond" truecount="4" falsecount="0"/>
162
162
  <line num="361" count="4" type="stmt"/>
@@ -170,11 +170,11 @@
170
170
  <line num="376" count="2" type="cond" truecount="4" falsecount="0"/>
171
171
  <line num="377" count="1" type="cond" truecount="1" falsecount="1"/>
172
172
  <line num="378" count="0" type="stmt"/>
173
- <line num="384" count="90" type="stmt"/>
174
- <line num="385" count="90" type="stmt"/>
173
+ <line num="384" count="87" type="stmt"/>
174
+ <line num="385" count="87" type="stmt"/>
175
175
  <line num="386" count="8" type="stmt"/>
176
176
  <line num="387" count="9" type="stmt"/>
177
- <line num="390" count="90" type="stmt"/>
177
+ <line num="390" count="87" type="stmt"/>
178
178
  <line num="395" count="9" type="stmt"/>
179
179
  <line num="396" count="9" type="cond" truecount="2" falsecount="0"/>
180
180
  <line num="397" count="1" type="stmt"/>
@@ -267,69 +267,23 @@
267
267
  <line num="596" count="20" type="cond" truecount="2" falsecount="0"/>
268
268
  <line num="597" count="19" type="stmt"/>
269
269
  <line num="600" count="15" type="stmt"/>
270
- <line num="607" count="94" type="stmt"/>
270
+ <line num="607" count="91" type="stmt"/>
271
271
  <line num="612" count="7" type="stmt"/>
272
272
  <line num="616" count="7" type="cond" truecount="1" falsecount="1"/>
273
- <line num="621" count="97" type="stmt"/>
274
- <line num="628" count="97" type="cond" truecount="2" falsecount="0"/>
275
- <line num="633" count="94" type="stmt"/>
276
- <line num="638" count="89" type="stmt"/>
277
- <line num="646" count="372" type="cond" truecount="4" falsecount="0"/>
278
- <line num="647" count="108" type="stmt"/>
279
- <line num="649" count="264" type="stmt"/>
280
- </file>
281
- <file name="index.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-bruno/src/index.ts">
282
- <metrics statements="43" coveredstatements="16" conditionals="34" coveredconditionals="15" methods="5" coveredmethods="4"/>
283
- <line num="41" count="1" type="stmt"/>
284
- <line num="45" count="0" type="stmt"/>
285
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
286
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
287
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
288
- <line num="50" count="0" type="stmt"/>
289
- <line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
290
- <line num="53" count="0" type="stmt"/>
291
- <line num="60" count="0" type="stmt"/>
292
- <line num="61" count="0" type="stmt"/>
293
- <line num="85" count="3" type="stmt"/>
294
- <line num="89" count="3" type="cond" truecount="1" falsecount="1"/>
295
- <line num="90" count="3" type="cond" truecount="1" falsecount="1"/>
296
- <line num="91" count="3" type="cond" truecount="2" falsecount="0"/>
297
- <line num="93" count="3" type="stmt"/>
298
- <line num="95" count="3" type="cond" truecount="2" falsecount="0"/>
299
- <line num="96" count="3" type="stmt"/>
300
- <line num="102" count="3" type="stmt"/>
301
- <line num="103" count="15" type="stmt"/>
302
- <line num="110" count="15" type="cond" truecount="4" falsecount="0"/>
303
- <line num="111" count="8" type="stmt"/>
304
- <line num="112" count="8" type="cond" truecount="2" falsecount="0"/>
305
- <line num="113" count="1" type="stmt"/>
306
- <line num="124" count="3" type="stmt"/>
307
- <line num="125" count="3" type="cond" truecount="1" falsecount="1"/>
308
- <line num="128" count="0" type="stmt"/>
309
- <line num="129" count="0" type="stmt"/>
310
- <line num="131" count="0" type="stmt"/>
311
- <line num="134" count="0" type="stmt"/>
312
- <line num="135" count="0" type="stmt"/>
313
- <line num="136" count="0" type="stmt"/>
314
- <line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
315
- <line num="138" count="0" type="stmt"/>
316
- <line num="139" count="0" type="stmt"/>
317
- <line num="144" count="0" type="stmt"/>
318
- <line num="145" count="0" type="stmt"/>
319
- <line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
320
- <line num="147" count="0" type="stmt"/>
321
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
322
- <line num="149" count="0" type="stmt"/>
323
- <line num="150" count="0" type="stmt"/>
324
- <line num="152" count="0" type="stmt"/>
325
- <line num="155" count="0" type="stmt"/>
273
+ <line num="621" count="94" type="stmt"/>
274
+ <line num="628" count="94" type="cond" truecount="2" falsecount="0"/>
275
+ <line num="633" count="91" type="stmt"/>
276
+ <line num="638" count="86" type="stmt"/>
277
+ <line num="646" count="360" type="cond" truecount="4" falsecount="0"/>
278
+ <line num="647" count="105" type="stmt"/>
279
+ <line num="649" count="255" type="stmt"/>
326
280
  </file>
327
281
  </package>
328
282
  <package name="tests">
329
283
  <metrics statements="38" coveredstatements="30" conditionals="31" coveredconditionals="24" methods="25" coveredmethods="19"/>
330
284
  <file name="helpers.ts" path="/home/runner/work/ContractKit/ContractKit/packages/plugin-bruno/tests/helpers.ts">
331
285
  <metrics statements="38" coveredstatements="30" conditionals="31" coveredconditionals="24" methods="25" coveredmethods="19"/>
332
- <line num="31" count="248" type="stmt"/>
286
+ <line num="31" count="244" type="stmt"/>
333
287
  <line num="35" count="48" type="stmt"/>
334
288
  <line num="39" count="1" type="stmt"/>
335
289
  <line num="43" count="0" type="stmt"/>
@@ -360,13 +314,13 @@
360
314
  <line num="143" count="18" type="cond" truecount="1" falsecount="1"/>
361
315
  <line num="144" count="18" type="cond" truecount="3" falsecount="2"/>
362
316
  <line num="145" count="0" type="stmt"/>
363
- <line num="149" count="94" type="stmt"/>
364
- <line num="150" count="94" type="cond" truecount="2" falsecount="0"/>
365
- <line num="151" count="94" type="cond" truecount="2" falsecount="0"/>
366
- <line num="152" count="94" type="stmt"/>
367
- <line num="167" count="90" type="cond" truecount="2" falsecount="0"/>
368
- <line num="168" count="90" type="stmt"/>
369
- <line num="172" count="89" type="stmt"/>
317
+ <line num="149" count="92" type="stmt"/>
318
+ <line num="150" count="92" type="cond" truecount="2" falsecount="0"/>
319
+ <line num="151" count="92" type="cond" truecount="2" falsecount="0"/>
320
+ <line num="152" count="92" type="stmt"/>
321
+ <line num="167" count="88" type="cond" truecount="2" falsecount="0"/>
322
+ <line num="168" count="88" type="stmt"/>
323
+ <line num="172" count="87" type="stmt"/>
370
324
  </file>
371
325
  </package>
372
326
  </project>