mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 19:33:46 +00:00
Deps migration (#1988)
* chore: migrate eslint to oxlint * chore: migrate prettier to oxfmt * chore: migrate typescript * chore: toThrow should have a expected value * chore: cast test value as Day * chore: small title fix * chore: mocks should be hoisted * chore: incorrect async useage * chore: test should be inside description * chore: test sohuld include an expeced * chore: oxfmt --------- Co-authored-by: alex-Arc <omnivox@LAPTOP-RC5SNBVV.localdomain>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
AutomationSettings,
|
||||
CustomFields,
|
||||
type Day,
|
||||
DatabaseModel,
|
||||
EndAction,
|
||||
OntimeView,
|
||||
@@ -8,12 +9,13 @@ import {
|
||||
Rundown,
|
||||
Settings,
|
||||
SupportedEntry,
|
||||
TimeStrategy,
|
||||
TimerLifeCycle,
|
||||
TimerType,
|
||||
TimeStrategy,
|
||||
URLPreset,
|
||||
ViewSettings,
|
||||
} from 'ontime-types';
|
||||
|
||||
import * as v3 from './db.migration.v3.js';
|
||||
import * as v4 from './db.migration.v4.js';
|
||||
|
||||
@@ -295,7 +297,7 @@ describe('v3 to v4', () => {
|
||||
flag: false,
|
||||
parent: null,
|
||||
delay: 0,
|
||||
dayOffset: 0,
|
||||
dayOffset: 0 as Day,
|
||||
gap: 0,
|
||||
},
|
||||
group0: {
|
||||
@@ -340,7 +342,7 @@ describe('v3 to v4', () => {
|
||||
parent: 'group0',
|
||||
revision: -1,
|
||||
delay: 0,
|
||||
dayOffset: 0,
|
||||
dayOffset: 0 as Day,
|
||||
gap: 0,
|
||||
},
|
||||
event3: {
|
||||
@@ -371,7 +373,7 @@ describe('v3 to v4', () => {
|
||||
parent: 'group0',
|
||||
revision: -1,
|
||||
delay: 0,
|
||||
dayOffset: 0,
|
||||
dayOffset: 0 as Day,
|
||||
gap: 0,
|
||||
},
|
||||
group1: {
|
||||
|
||||
Reference in New Issue
Block a user