We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e1ce7 commit f71729cCopy full SHA for f71729c
.github/workflows/tests.yml
@@ -57,6 +57,8 @@ jobs:
57
run: |
58
cd cables_api/
59
npm run test:servers
60
+ env:
61
+ CABLES_USER_APIKEY: ${{ secrets.cables_user_apikey }}
62
- name: checkout electron for exe export
63
uses: actions/checkout@v4
64
with:
shared/api/cables.js
@@ -239,6 +239,12 @@ export default class Cables extends SharedUtil
239
return this._config.env === "nightly";
240
}
241
242
+ isTestEnv()
243
+ {
244
+ if (this._config.tests) return this._config.tests.is_testenvironment === true;
245
+ return false;
246
+ }
247
+
248
getEnv()
249
{
250
return this._config.env;
0 commit comments