Skip to content

Commit

Permalink
fix(test/snapshot): remove unused CHROMIUM_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
GervinFung committed Jul 21, 2024
1 parent 3c1a188 commit eec08b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/web/test/snapshot/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { afterAll, beforeAll, describe, expect, it } from 'vitest';
import Server from '../server';

import { getWebSnapshot } from './browser';
import { Defined } from '@poolofdeath20/util';

const testSnapshot = () => {
const server = Server.of(8080);
Expand All @@ -20,9 +19,6 @@ const testSnapshot = () => {
headless: true,
defaultViewport: null,
args: ['--start-maximized', '--no-sandbox'],
executablePath: Defined.parse(
process.env['CHROMIUM_PATH']
).orThrow(new Error('CHROMIUM_PATH is not found')),
});
});
});
Expand Down

0 comments on commit eec08b9

Please sign in to comment.