diff --git a/CHANGELOG.md b/CHANGELOG.md index 470f352a8..df919ad0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,11 @@ All notable changes to this project will be documented in this file. The format - New key results are now given a start value of 0, a target value of 100, and percentage as unit of measurement by default. +### Fixed + +- Fixed Markdown rendering of descriptions on objective, key result, and + measurement detail pages. + ### Security - More security headers are now set: `Content-Security-Policy`, diff --git a/tests/unit/functionsUtil.test.js b/functions/tests/unit/util.test.js similarity index 92% rename from tests/unit/functionsUtil.test.js rename to functions/tests/unit/util.test.js index fcb7e3b06..4290296d1 100644 --- a/tests/unit/functionsUtil.test.js +++ b/functions/tests/unit/util.test.js @@ -1,4 +1,4 @@ -import sheetIdFromUrl from '../../functions/util/util'; +import sheetIdFromUrl from '../../util/util'; describe('Function utils', () => { test('gets the Google Sheet ID from a URL', () => { diff --git a/package.json b/package.json index d3935db5e..0548acdab 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "deploy": ". ./.env.production && sed -i -e \"s||$VITE_API_GATEWAY_URL|g\" public/openapi.yaml && npm run build && sed -i -e \"s|$VITE_API_GATEWAY_URL||g\" public/openapi.yaml && firebase deploy --project=production", "deploy:test": "npm run build:test && firebase deploy --project=development", "deploy:feature_branch": "npm run build && firebase hosting:channel:deploy --project=production $npm_config_name", - "lint": "eslint ./src ./functions ./extras --ext .js,.vue,.gs", - "lint:fix": "eslint ./src ./functions ./extras --ext .js,.vue,.gs --fix", + "lint": "eslint ./src ./functions ./extras ./tests --ext .js,.vue,.gs", + "lint:fix": "eslint ./src ./functions ./extras ./tests --ext .js,.vue,.gs --fix", "lint:style": "stylelint 'src/**/*.scss' 'src/**/*.vue'", "lint:style:fix": "stylelint 'src/**/*.scss' 'src/**/*.vue' --fix", "export_mock_data": "firebase emulators:export ./mock_data" diff --git a/src/components/HTMLOutput.vue b/src/components/HTMLOutput.vue index ee94f023b..0a900695c 100644 --- a/src/components/HTMLOutput.vue +++ b/src/components/HTMLOutput.vue @@ -1,5 +1,5 @@