Skip to content

Commit

Permalink
fix typo with options, remove logs from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haroun committed Sep 4, 2024
1 parent 60969a0 commit a354598
Show file tree
Hide file tree
Showing 6 changed files with 740 additions and 621 deletions.
2 changes: 1 addition & 1 deletion lib/methods/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = self => {
const ids = self.apos.launder.ids(req.body._ids);
const relatedTypes = self.apos.launder.strings(req.body.relatedTypes);
const expiration = self.options.importExport?.export?.expiration &&
self.apos.launder.integer(self.options.export.expiration);
self.apos.launder.integer(self.options.importExport.export.expiration);

const [ defaultFormatName ] = Object.keys(self.formats);
const formatName = self.apos.launder.string(req.body.formatName, defaultFormatName);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"stylelint": "stylelint ui/**/*.{scss,vue}",
"lint": "npm run eslint && npm run stylelint",
"mocha": "mocha",
"test": "npm run lint && npm run mocha"
"test": "npm run lint && npm run mocha --ignore=test/import-page.js && npm run mocha test/import-page.js"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit a354598

Please sign in to comment.