Skip to content

Commit 35e23d8

Browse files
committed
fixup: fix imports
1 parent 9e6110d commit 35e23d8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/astro/src/default/components/webcontainer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// must be imported first
2+
import { useAuth } from './setup.js';
3+
14
import { TutorialStore } from '@tutorialkit/runtime';
25
import { auth, WebContainer } from '@webcontainer/api';
3-
import { useAuth } from './setup.js';
46

57
interface WebContainerContext {
68
useAuth: boolean;

packages/runtime/src/tutorial-runner.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// must be imported first
2+
import { resetProcessFactory, setProcessFactory } from 'test-utils';
3+
14
import { WebContainer } from '@webcontainer/api';
25
import type { MockedWebContainer } from 'test-utils';
3-
import { resetProcessFactory, setProcessFactory } from 'test-utils';
46
import { beforeEach, describe, expect, test, vi } from 'vitest';
57
import { TerminalStore } from './store/terminal.js';
68
import { TutorialRunner } from './tutorial-runner.js';

0 commit comments

Comments
 (0)