Skip to content

Commit c799d23

Browse files
committed
reorganize wrappers file
1 parent 4ac6f07 commit c799d23

20 files changed

+25
-25
lines changed

jest/tests/time.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe('Timer - interval option', () => {
105105
counter++;
106106
},
107107
DELAY,
108-
{ interval: true }
108+
{ repetitive: true }
109109
);
110110

111111
interval.start();
@@ -124,7 +124,7 @@ describe('Timer - animation + interval + measurable', () => {
124124
count++;
125125
},
126126
undefined,
127-
{ animation: true, interval: true, measurable: true }
127+
{ animation: true, repetitive: true, measurable: true }
128128
);
129129
const SECOND = 1e3;
130130

jest/tests/wrappers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ global.cancelIdleCallback = function noop() {};
77
// }}
88

99
import { describe, expect, test, beforeEach, afterEach } from '@jest/globals';
10-
import { Wrapper } from '../../src/api/wrappers.ts';
10+
import { Wrapper } from '../../src/wrapper/main.ts';
1111
import { TAG_EXCEPTION, TAG_UNDEFINED } from '../../src/api/clone.ts';
1212
import {
1313
TAG_EVAL_RETURN_SET_TIMEOUT,

src/api-monitor-cs-main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
doMediaCommand,
1212
type TMediaTelemetry,
1313
} from './api/mediaMonitor.ts';
14-
import { Wrapper, TimerType, type TWrapperMetrics } from './api/wrappers.ts';
14+
import { Wrapper, TimerType, type TWrapperMetrics } from './wrapper/main.ts';
1515
import { panelsArray2Map, type TPanelVisibilityMap } from './api/settings.ts';
1616

1717
export interface TMetrics {

src/api/communication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import { APPLICATION_NAME } from './env.ts';
1414
import { ERRORS_IGNORED } from './const.ts';
1515
import type { TMetrics } from '../api-monitor-cs-main.ts';
16-
import type { TTimerType } from './wrappers.ts';
16+
import type { TTimerType } from '../wrapper/main.ts';
1717
import type { TSettings } from './settings.ts';
1818

1919
let port: chrome.runtime.Port | null = null;

src/api/comparator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { TOnlineTimerMetrics } from './wrappers.ts';
1+
import type { TOnlineTimerMetrics } from '../wrapper/main.ts';
22
import { ESortOrder } from './settings.ts';
33

44
const SEMISORTING_FIELDS = ['calls', 'delay', 'online'];

src/api/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type {
55
TRequestAnimationFrameHistory,
66
TRequestIdleCallbackHistory,
77
TSetTimerHistory,
8-
} from './wrappers.ts';
8+
} from '../wrapper/main.ts';
99

1010
type TPanelKey =
1111
| 'eval'

src/view/components/ActiveTimers.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { TOnlineTimerMetrics } from '../../api/wrappers.ts';
2+
import type { TOnlineTimerMetrics } from '../../wrapper/main.ts';
33
import { portPost } from '../../api/communication.ts';
44
import { delayTitle } from '../../api/time.ts';
55
import Variable from './Variable.svelte';

src/view/components/AnimationCancelHistory.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { TCancelAnimationFrameHistory } from '../../api/wrappers.ts';
2+
import type { TCancelAnimationFrameHistory } from '../../wrapper/main.ts';
33
import {
44
DEFAULT_SORT_CAF,
55
getSettings,

src/view/components/AnimationRequestHistory.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type {
33
TCancelAnimationFrameHistory,
44
TRequestAnimationFrameHistory,
5-
} from '../../api/wrappers.ts';
5+
} from '../../wrapper/main.ts';
66
import {
77
DEFAULT_SORT_RAF,
88
getSettings,

src/view/components/EvalMetrics.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { TEvalHistory } from '../../api/wrappers.ts';
2+
import type { TEvalHistory } from '../../wrapper/main.ts';
33
import Variable from './Variable.svelte';
44
import Trace from './Trace.svelte';
55
import TraceDomain from './TraceDomain.svelte';

0 commit comments

Comments
 (0)