Removing old content
This commit is contained in:
parent
7f820f0080
commit
b21a3d8258
3 changed files with 0 additions and 22 deletions
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
/**
|
||||
* Modifies the recalibration properties of the provided part based on the
|
||||
* provided capabilityAnswerResult
|
||||
* @param {*} part
|
||||
* @param {*} capabilityAnswerResult
|
||||
* @returns void
|
||||
*/
|
||||
export function setPartRecalibrationProperties(part, capabilityAnswerResult) {
|
||||
Object.assign(part, {
|
||||
recalibrationType: capabilityAnswerResult.result1,
|
||||
requiresRecalibration: capabilityAnswerResult.result2 !== "0"
|
||||
});
|
||||
}
|
||||
|
|
@ -8,7 +8,6 @@ import { useMainStore } from '@/store';
|
|||
import vehicleQuestionsMixin from '@/mixins/vehicle-questions-mixin';
|
||||
import { nextTick } from 'vue';
|
||||
import baseMixin from '@/mixins/base-mixin';
|
||||
import { setPartRecalibrationProperties } from '@/helpers/capability-question-helper.js';
|
||||
|
||||
// Mock our module for promises.
|
||||
jest.mock('@/helpers/layout-helper.js', () => ({
|
||||
|
|
@ -20,12 +19,6 @@ jest.mock('@/helpers/cms-content-helper', () => ({
|
|||
fetchCmsContentForPage: jest.fn()
|
||||
}));
|
||||
|
||||
// Mock setPartRecalibrationProperties
|
||||
jest.mock('@/helpers/capability-question-helper', () => ({
|
||||
setPartRecalibrationProperties: jest.fn()
|
||||
}));
|
||||
|
||||
|
||||
const baseStoreGettersPageData = () => ({
|
||||
partsOrQuestions: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ import { useMainStore } from '@/store';
|
|||
import globalRules from '@/constants/global-rules';
|
||||
import vehicleQuestionsMixin from '@/mixins/vehicle-questions-mixin';
|
||||
import questionsPageLayout from '@/iss-components/questions-page-layout/questions-page-layout.vue';
|
||||
import { setPartRecalibrationProperties } from '@/helpers/capability-question-helper';
|
||||
|
||||
export default {
|
||||
name: 'capability-questions',
|
||||
|
|
|
|||
Loading…
Reference in a new issue