Skip to content

Commit 5bae534

Browse files
committed
patchexport for standalone, test setup
1 parent 3ca92b1 commit 5bae534

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: setup repos
2525
run: |
2626
./install_local.sh https
27+
- name: configure mochajs for github
28+
run: |
29+
echo '{"reporter": "mocha-ctrf-json-reporter"}' > ./.mocharc.json
2730
- name: core tests
2831
run: |
2932
cd cables/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ gen/
99
.DS_Store
1010
.vscode
1111
docker-compose.yml
12+
.mocharc.json
1213

1314
# OS generated files #
1415
######################

shared/api/export/shared_export_service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export default class SharedExportService extends SharedUtil
285285
const exportNumber = proj.exports;
286286
let proJson = this._projectsUtil.makeReadable(proj, true);
287287

288-
const keepInExport = ["_id", "ops", ...keepAlso];
288+
const keepInExport = ["_id", "ops", "shortId", "name", ...keepAlso];
289289
for (let key in proJson)
290290
{
291291
if (!keepInExport.includes(key)) delete proJson[key];

0 commit comments

Comments
 (0)