Skip to content

Commit 22cfda1

Browse files
committed
test: @putout/processor-svelte: fixture
1 parent c249618 commit 22cfda1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import {createTest} from '@putout/test/processor';
22

33
const test = createTest(import.meta.url, {
44
extension: 'html',
5-
processors: ['html'],
5+
processors: ['svelte'],
66
});
77

8-
test('putout: processor: html', async ({process}) => {
8+
test('putout: processor: svelte', async ({process}) => {
99
await process('html', ['remove-unused-variables']);
1010
});
1111

packages/test/lib/processor/index.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ test('putout: test: processor: process', async ({process}) => {
3737
});
3838

3939
test('putout: test: processor: no process', async ({noProcess}) => {
40-
await noProcess('empty-script.html', null, ['html']);
40+
await noProcess('empty-script.html', null, ['svelte']);
4141
});
4242

4343
test('putout: test: processor: no process: UPDATE', async ({noProcess, calledWith}) => {
4444
const unlink = stub();
4545

4646
update(1);
4747
global.unlink = unlink;
48-
await noProcess('empty-script.html', null, ['html']);
48+
await noProcess('empty-script.html', null, ['svelte']);
4949
delete global.unlink;
5050
update(0);
5151

@@ -55,7 +55,7 @@ test('putout: test: processor: no process: UPDATE', async ({noProcess, calledWit
5555

5656
test('putout: test: processor: no process: UPDATE: not clean', async ({noProcess, ok}) => {
5757
update(1);
58-
await noProcess('empty-script.html', null, ['html']);
58+
await noProcess('empty-script.html', null, ['svelte']);
5959
update(0);
6060

6161
const name = join(__dirname, 'fixture/empty-script-fix.html');

0 commit comments

Comments
 (0)