linting
parent
84f009071d
commit
ed2a14ee5f
|
|
@ -1,4 +1,4 @@
|
|||
import * as configFunctions from '../../../helpers/functions.config.js';
|
||||
import { getConfigProperty } from '../../../helpers/functions.config.js';
|
||||
import { testAdmin } from '../../../test/_globals.js';
|
||||
import { ajaxDelayMillis, login, logout } from '../../support/index.js';
|
||||
describe('Admin - Fee Management', () => {
|
||||
|
|
@ -39,9 +39,7 @@ describe('Admin - Fee Management', () => {
|
|||
cy.get(".modal input[name='taxAmount']").should('be.disabled');
|
||||
cy.get(".modal input[name='taxPercentage']")
|
||||
.invoke('val')
|
||||
.should('equal', configFunctions
|
||||
.getConfigProperty('settings.fees.taxPercentageDefault')
|
||||
.toString());
|
||||
.should('equal', getConfigProperty('settings.fees.taxPercentageDefault').toString());
|
||||
cy.get(".modal input[name='quantityUnit']").should('be.disabled');
|
||||
cy.get(".modal select[name='includeQuantity']").select('1');
|
||||
cy.get(".modal input[name='quantityUnit']")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import * as configFunctions from '../../../helpers/functions.config.js'
|
||||
import { getConfigProperty } from '../../../helpers/functions.config.js'
|
||||
import { testAdmin } from '../../../test/_globals.js'
|
||||
import type { Fee } from '../../../types/recordTypes.js'
|
||||
import { ajaxDelayMillis, login, logout } from '../../support/index.js'
|
||||
|
|
@ -65,9 +65,7 @@ describe('Admin - Fee Management', () => {
|
|||
.invoke('val')
|
||||
.should(
|
||||
'equal',
|
||||
configFunctions
|
||||
.getConfigProperty('settings.fees.taxPercentageDefault')
|
||||
.toString()
|
||||
getConfigProperty('settings.fees.taxPercentageDefault').toString()
|
||||
)
|
||||
|
||||
cy.get(".modal input[name='quantityUnit']").should('be.disabled')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// skipcq: JS-C1003 - Added to ReportData
|
||||
import * as dateTimeFunctions from '@cityssm/utils-datetime'
|
||||
|
||||
import getLot from '../database/getLot.js'
|
||||
|
|
@ -5,7 +6,9 @@ import getLotOccupancy from '../database/getLotOccupancy.js'
|
|||
import getWorkOrder from '../database/getWorkOrder.js'
|
||||
import type { Lot, LotOccupancy, WorkOrder } from '../types/recordTypes.js'
|
||||
|
||||
// skipcq: JS-C1003 - Added to ReportData
|
||||
import * as configFunctions from './functions.config.js'
|
||||
// skipcq: JS-C1003 - Added to ReportData
|
||||
import * as lotOccupancyFunctions from './functions.lotOccupancy.js'
|
||||
|
||||
interface PrintConfig {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'
|
||||
|
||||
import type { LOS } from '../types/globalTypes.js'
|
||||
import type * as recordTypes from '../types/recordTypes.js'
|
||||
import type { LotOccupancy } from '../types/recordTypes.js'
|
||||
|
||||
declare const cityssm: cityssmGlobal
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ declare const exports: Record<string, unknown>
|
|||
const responseJSON = rawResponseJSON as {
|
||||
count: number
|
||||
offset: number
|
||||
lotOccupancies: recordTypes.LotOccupancy[]
|
||||
lotOccupancies: LotOccupancy[]
|
||||
}
|
||||
|
||||
if (responseJSON.lotOccupancies.length === 0) {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'
|
||||
|
||||
import type { LOS } from '../types/globalTypes.js'
|
||||
import type * as recordTypes from '../types/recordTypes.js'
|
||||
import type { MapRecord } from '../types/recordTypes.js'
|
||||
|
||||
declare const cityssm: cityssmGlobal
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ declare const exports: Record<string, unknown>
|
|||
;(() => {
|
||||
const los = exports.los as LOS
|
||||
|
||||
const maps = exports.maps as recordTypes.MapRecord[]
|
||||
const maps = exports.maps as MapRecord[]
|
||||
|
||||
const searchFilterElement = document.querySelector(
|
||||
'#searchFilter--map'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
"use strict";
|
||||
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call */
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
(() => {
|
||||
var _a, _b;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call */
|
||||
|
||||
import type * as Leaflet from 'leaflet'
|
||||
|
||||
declare const L
|
||||
|
|
|
|||
|
|
@ -2,8 +2,11 @@ import assert from 'node:assert'
|
|||
import fs from 'node:fs'
|
||||
|
||||
import { lotNameSortNameFunction } from '../data/config.cemetery.ssm.js'
|
||||
// skipcq: JS-C1003 - Testing functions
|
||||
import * as cacheFunctions from '../helpers/functions.cache.js'
|
||||
// skipcq: JS-C1003 - Testing functions
|
||||
import * as sqlFilterFunctions from '../helpers/functions.sqlFilters.js'
|
||||
// skipcq: JS-C1003 - Testing functions
|
||||
import * as userFunctions from '../helpers/functions.user.js'
|
||||
|
||||
describe('config.cemetery.ssm', () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue