mirror of https://github.com/sveltejs/svelte
parent
a4905410df
commit
0ba5dee5e2
@ -1,18 +1,21 @@
|
|||||||
import { test } from '../../assert';
|
import { test } from '../../assert';
|
||||||
|
|
||||||
export default test({
|
export default test({
|
||||||
warnings: [{
|
warnings: [
|
||||||
code: "head_in_component",
|
{
|
||||||
message: "A `<head>` tag was detected in file `(unknown)`, component `_unknown_`, at line 1. This can lead to runtime errors. Did you mean to use `<svelte:head>`?\nhttps://svelte.dev/e/head_in_component",
|
code: 'head_in_component',
|
||||||
start: {
|
message:
|
||||||
line: 1,
|
'A `<head>` tag was detected in file `(unknown)`, component `_unknown_`, at line 1. This can lead to runtime errors. Did you mean to use `<svelte:head>`?\nhttps://svelte.dev/e/head_in_component',
|
||||||
character: 0,
|
start: {
|
||||||
column: 0
|
line: 1,
|
||||||
},
|
character: 0,
|
||||||
end: {
|
column: 0
|
||||||
line: 3,
|
},
|
||||||
character: 73,
|
end: {
|
||||||
column: 7
|
line: 3,
|
||||||
}
|
character: 73,
|
||||||
}]
|
column: 7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in new issue