Skip to content

Commit 74b8536

Browse files
committed
fix: lint
1 parent b9a52bf commit 74b8536

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

browser-tests/global-setup.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default async function globalSetup() {
5656
if (process.env.CI) {
5757
throw new Error(`Browser tests require: ${missing.join(', ')}`);
5858
}
59-
console.log(`\n⏭️ Skipping browser tests — missing: ${missing.join(', ')}\n`);
59+
console.log(`\nSkipping browser tests — missing: ${missing.join(', ')}\n`);
6060
process.exit(0);
6161
}
6262

@@ -65,7 +65,7 @@ export default async function globalSetup() {
6565

6666
const projectName = `BrTest${String(Date.now()).slice(-8)}`;
6767

68-
console.log(`\n📁 Creating test project "${projectName}" in ${testDir}`);
68+
console.log(`\nCreating test project "${projectName}" in ${testDir}`);
6969

7070
const cleanEnv = { ...process.env };
7171
delete cleanEnv.INIT_CWD;
@@ -90,15 +90,14 @@ export default async function globalSetup() {
9090
const parsed = JSON.parse(createResult.split('\n').pop()!);
9191
const projectPath: string = resolve(testDir, parsed.projectPath);
9292

93-
console.log(`Project created at ${projectPath}`);
94-
console.log(`🚀 Starting agentcore dev...`);
93+
console.log(`Project created at ${projectPath}`);
94+
console.log(`Starting agentcore dev...`);
9595

9696
const env = { ...process.env };
9797
delete env.INIT_CWD;
9898
env.AGENTCORE_NO_OPEN = '1';
9999
if (env.AGENT_INSPECTOR_PATH) {
100100
env.AGENT_INSPECTOR_PATH = resolve(env.AGENT_INSPECTOR_PATH);
101-
console.log(`🔧 Using custom agent-inspector: ${env.AGENT_INSPECTOR_PATH}`);
102101
}
103102

104103
const ptyProcess = pty.spawn('node', [CLI_PATH, 'dev'], {
@@ -137,7 +136,7 @@ export default async function globalSetup() {
137136
throw new Error(`Web UI reported port ${webUIPort} but it is not responding.\nOutput: ${serverOutput}`);
138137
}
139138

140-
console.log(`Dev server ready on port ${webUIPort}`);
139+
console.log(`Dev server ready on port ${webUIPort}`);
141140

142141
writeFileSync(
143142
ENV_FILE,

browser-tests/global-teardown.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default async function globalTeardown() {
1111
if (serverPid) {
1212
try {
1313
process.kill(Number(serverPid), 'SIGTERM');
14-
console.log(`\n🛑 Stopped dev server (PID ${serverPid})`);
14+
console.log(`\nStopped dev server (PID ${serverPid})`);
1515
} catch {
1616
// Process already exited
1717
}
@@ -31,7 +31,7 @@ export default async function globalTeardown() {
3131
}
3232

3333
if (testDir && existsSync(testDir)) {
34-
console.log(`🧹 Cleaning up ${testDir}`);
34+
console.log(`Cleaning up ${testDir}`);
3535
rmSync(testDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 1000 });
3636
}
3737

0 commit comments

Comments
 (0)