mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-03 17:18:36 +00:00
frontend: cleanup
* dummy commit * cleanup workflows * setup and run eslint * add linter to CI * use eslint for formatting * reorder rules * drop editor config
This commit is contained in:
parent
78fa714297
commit
75c633dcb5
65 changed files with 2048 additions and 641 deletions
|
@ -1,8 +1,8 @@
|
|||
import { exec } from 'child_process';
|
||||
import * as config from './config';
|
||||
import { exec } from "child_process";
|
||||
import * as config from "./config";
|
||||
|
||||
export const setup = () => {
|
||||
console.log('Starting Client Tests');
|
||||
console.log("Starting Client Tests");
|
||||
console.log({
|
||||
PORT: config.PORT,
|
||||
HOST: config.HOST,
|
||||
|
@ -12,8 +12,8 @@ export const setup = () => {
|
|||
|
||||
export const teardown = () => {
|
||||
if (process.env.TEST_SHUTDOWN_API_SERVER) {
|
||||
const pc = exec('pkill -SIGTERM api'); // Kill background API process
|
||||
pc.stdout.on('data', data => {
|
||||
const pc = exec("pkill -SIGTERM api"); // Kill background API process
|
||||
pc.stdout.on("data", data => {
|
||||
console.log(`stdout: ${data}`);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue