Dependencies updated & small enhancements (#27)
* Dependencies updated and imports shortened * Head tags refactored * Final tweaks
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { replaceBoth, retrieveFiltered, CheckType, LangType } from "../../utils/language";
|
||||
import { languages, exceptions, mappings } from "../../utils/languages.json";
|
||||
import { replaceBoth, retrieveFiltered, CheckType, LangType } from "@utils/language";
|
||||
import { languages, exceptions, mappings } from "@utils/languages.json";
|
||||
|
||||
describe("replaceBoth", () => {
|
||||
const testReplacer = (
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import faker from "faker";
|
||||
import langReducer, { Actions, initialState } from "../../utils/reducer";
|
||||
import langReducer, { Actions, initialState } from "@utils/reducer";
|
||||
|
||||
it("changes a field value", () => {
|
||||
const query = faker.random.words();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { htmlRes, resolveFetchWith } from "../commonUtils";
|
||||
import { htmlRes, resolveFetchWith } from "@tests/commonUtils";
|
||||
import faker from "faker";
|
||||
import { googleScrape, extractSlug, textToSpeechScrape } from "../../utils/translate";
|
||||
import { googleScrape, extractSlug, textToSpeechScrape } from "@utils/translate";
|
||||
|
||||
const source = faker.random.locale();
|
||||
const target = faker.random.locale();
|
||||
|
||||
Reference in New Issue
Block a user