summaryrefslogtreecommitdiff
path: root/test/config-path.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/config-path.test.js')
-rw-r--r--test/config-path.test.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/config-path.test.js b/test/config-path.test.js
deleted file mode 100644
index 33e2cf3b7..000000000
--- a/test/config-path.test.js
+++ /dev/null
@@ -1,24 +0,0 @@
-import { suite } from 'uvu';
-import * as assert from 'uvu/assert';
-import { runDevServer } from './helpers.js';
-
-const ConfigPath = suite('Config path');
-
-const root = new URL('./fixtures/config-path/', import.meta.url);
-ConfigPath('can be passed via --config', async (context) => {
- const configPath = new URL('./config/my-config.mjs', root).pathname;
- const args = ['--config', configPath];
- const process = runDevServer(root, args);
-
- process.stdout.setEncoding('utf8');
- for await (const chunk of process.stdout) {
- if(/Server started/.test(chunk)) {
- break;
- }
- }
-
- process.kill();
- assert.ok(true, 'Server started');
-});
-
-ConfigPath.run();