Skip to content

Commit 3efa16d

Browse files
committed
fix linter errors again (pls)
1 parent 8e61acf commit 3efa16d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script>
2+
import { onMount, beforeUpdate, afterUpdate } from 'svelte';
3+
import * as Sentry from '../../src/index';
4+
5+
// Pass options to trackComponent as props of this component
6+
export let options;
7+
8+
Sentry.trackComponent(options);
9+
10+
// onMount(() => console.log('>mount'));
11+
// beforeUpdate(() => console.log('>beforeupdate'));
12+
// afterUpdate(() => console.log('>afterupdate'));
13+
</script>
14+
15+
<h1>Hi, I'm a dummy component for testing</h1>

packages/svelte/test/performance.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Scope } from '@sentry/hub';
22
import { act, render } from '@testing-library/svelte';
33

4+
// eslint-disable-next-line import/no-unresolved Eslint doesn't know about Svelte components
45
import DummyComponent from './components/Dummy.svelte';
56

67
let returnUndefinedTransaction = false;

0 commit comments

Comments
 (0)