From 84c77d1a0bad03d09e6957f5a7168a9fd836b803 Mon Sep 17 00:00:00 2001 From: Ioan Lucut Date: Sun, 9 Jul 2023 20:22:07 +0300 Subject: [PATCH] Update tests config --- jest.config.js => jest.config.ts | 3 +-- src/types.ts | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) rename jest.config.js => jest.config.ts (66%) diff --git a/jest.config.js b/jest.config.ts similarity index 66% rename from jest.config.js rename to jest.config.ts index b2dcc72..459a2e8 100644 --- a/jest.config.js +++ b/jest.config.ts @@ -1,5 +1,4 @@ -/** @type {import('ts-jest').JestConfigWithTsJest} */ -module.exports = { +export default { preset: 'ts-jest', testEnvironment: 'node', watchPlugins: [ diff --git a/src/types.ts b/src/types.ts index 1f0c600..98cc0ac 100644 --- a/src/types.ts +++ b/src/types.ts @@ -22,12 +22,6 @@ export const SongSection = { ENDING: `[${SequenceChar.ENDING}]`, }; -export enum SongMeta { - ALTERNATIVE = 'alternative', - AUTHOR = 'author', - VERSION = 'version', -} - export enum PPGroup { VERSE = 'Verse', BRIDGE = 'Bridge',