Commit 318114d
fix(graphql): remove ESM-broken require() check so
_checkRequirements() called require('axios'), which is undefined in ESM.
The ReferenceError was caught and reported the deps as missing, so
`npx codeceptjs check` failed with a false 'axios not installed' error.
Return null instead, matching REST/ApiDataFactory/Playwright helpers;
missing deps already fail at import time.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>check works (#5654)1 parent 7cb68de commit 318114d
2 files changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
184 | 181 | | |
185 | 182 | | |
186 | 183 | | |
| |||
0 commit comments