Skip to content

Commit

Permalink
hopefully this will get it to shut up
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Dec 16, 2024
1 parent 5c51293 commit 4d2e5dd
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions packages/migrate/migrations/app-state/migrate.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ test('Updates $app/store #1', () => {
<button onclick={() => {
console.log($page.state);
}}></button>
`,
{}
`
);
assert.equal(
result,
Expand All @@ -37,8 +36,7 @@ test('Updates $app/store #2', () => {
</script>
{$navigating?.to?.url.pathname}
`,
{}
`
);
assert.equal(
result,
Expand All @@ -60,8 +58,7 @@ test('Updates $app/store #3', () => {
</script>
{$_page.data}
`,
{}
`
);
assert.equal(
result,
Expand All @@ -82,7 +79,7 @@ test('Does not update $app/store #1', () => {
{x}
`;
const result = transform_svelte_code(input, {});
const result = transform_svelte_code(input);
assert.equal(result, input);
});

Expand All @@ -95,7 +92,7 @@ test('Does not update $app/store #2', () => {
{$url}
`;
const result = transform_svelte_code(input, {});
const result = transform_svelte_code(input);
assert.equal(result, input);
});

Expand All @@ -107,6 +104,6 @@ test('Does not update $app/store #3', () => {
{$page.url}
`;
const result = transform_svelte_code(input, {});
const result = transform_svelte_code(input);
assert.equal(result, input);
});

0 comments on commit 4d2e5dd

Please sign in to comment.