Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/ci-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,13 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run unit tests
run: npm test
- name: Run unit tests with coverage
run: npm run test:unit:coverage

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: test/jest/coverage/lcov.info
if-no-files-found: warn
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/* eslint-env node */
const ESLintPlugin = require("eslint-webpack-plugin");
const { configure } = require("quasar/wrappers");
const Sass = require("sass");

module.exports = configure(function (ctx) {
return {
Expand Down Expand Up @@ -68,6 +69,16 @@ module.exports = configure(function (ctx) {
.plugin("eslint-webpack-plugin")
.use(ESLintPlugin, [{ extensions: ["js", "vue"] }]);
},

scssLoaderOptions: {
implementation: Sass,
api: "modern",
},

sassLoaderOptions: {
implementation: Sass,
api: "modern",
},
},

// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialogs/AdvancedNodeDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ import {inject, onBeforeMount, onMounted, computed, watch, ref} from "vue";
import { date, useQuasar, scroll } from 'quasar'
import * as utils from "components/functions/utils.js"
import MDFDialog from "components/dialogs/MDFDialog"
import programNodeDialog from "components/dialogs/programNodeDialog"
import programNodeDialog from "components/dialogs/ProgramNodeDialog"
import NodeBackupAndRestoreDialog from "components/dialogs/NodeBackupAndRestoreDialog"
import setCanIdDialog from "components/dialogs/setCanIdDialog"
import setCanIdDialog from "components/dialogs/SetCanIdDialog"
import cbusLib from "cbuslibrary"

const $q = useQuasar()
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialogs/NodesViewAdvancedDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ import * as utils from "components/functions/utils.js"
import nodeParametersDialog from "components/dialogs/NodeParametersDialog"
import { date, useQuasar, scroll } from 'quasar'
import {NodeParametersLoaded} from "components/functions/NodeFunctions.js"
import programNodeDialog from "components/dialogs/programNodeDialog"
import programNodeDialog from "components/dialogs/ProgramNodeDialog"
import WaitingOnBusTrafficDialog from "components/dialogs/WaitingOnBusTrafficDialog";


Expand Down
4 changes: 2 additions & 2 deletions src/components/views/NodesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ import * as eventFunctions from "components/functions/EventFunctions.js"
import cbusLib from "cbuslibrary"
import {NodeParametersLoaded} from "components/functions/NodeFunctions.js"
import EventsListByNode from "components/views/EventsListByNode"
import advancedNodeDialog from "components/dialogs/advancedNodeDialog"
import advancedNodeDialog from "components/dialogs/AdvancedNodeDialog"
import nameNodeDialog from "components/dialogs/NameNodeDialog"
import nodeEventsDialog from "components/dialogs/nodeEventsDialog"
import nodeEventsDialog from "components/dialogs/NodeEventsDialog"
import nodeParametersDialog from "components/dialogs/NodeParametersDialog"
import nodeVariablesDialog from "components/dialogs/NodeVariablesDialog"
import NodesViewAdvancedDialog from "components/dialogs/NodesViewAdvancedDialog"
Expand Down