Revert "Move settings to public/svgld-settings.js"

This reverts commit 2cf56632155f5378c8819991b1b42ab135cbe384.
This commit is contained in:
Eric NGUYEN 2022-10-12 18:08:35 +02:00
parent fff0645045
commit d368641200
12 changed files with 27 additions and 26 deletions

View file

@ -1,6 +1,5 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { describe, it, expect } from 'vitest';
import { API_FETCH_URL } from '../../../public/svgld-settings';
import { AddMethod } from '../../Enums/AddMethod';
import { Orientation } from '../../Enums/Orientation';
import { Position } from '../../Enums/Position';
@ -21,9 +20,9 @@ const CHARP_WEB_API_RESOURCE_URL = 'SVGLD';
const CSHARP_WEB_API_URL = CSHARP_WEB_API_BASE_URL + CHARP_WEB_API_RESOURCE_URL + '/';
// TODO: Migrate this test to SVGLDWebAPI rather than using test-server/
describe.concurrent('Test server test', async() => {
describe.concurrent('Test server test', () => {
it('Load environment', () => {
const url = API_FETCH_URL;
const url = import.meta.env.VITE_API_FETCH_URL;
expect(url).toBe('http://localhost:5000');
});