testing workflows (#14)

* Initial Push

Inititial project state

* Static demo version

* static demo site - added variables

a

* first_implementation

* Updated UI, Improved Style to be more "Reactly", added Functionality

* add parsing functions

* change folder

* Import/Export Prototype

* Adding "reactjs-popup" to package,json

* Adding GLPK source

* Preparing for deplyment workflow

* Adding workflow

* Moving test file to __tests__

* Removing German texts

* Setting up Unit Testing using jest

---------

Co-authored-by: moebiusl <lucas.moebius@icloud.com>
Co-authored-by: Marcel Pöppe <marcel.poeppe@gmail.com>
This commit is contained in:
SinusFox
2024-09-24 17:41:24 +02:00
committed by GitHub
parent aa1dcd2d20
commit 5dad8c7a14
25 changed files with 10833 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
/** @type {import('jest').Config} */
const nextJest = require('next/jest');
const createJestConfig = nextJest({
dir: './',
});
const customJestConfig = {
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
},
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx', 'json', 'node'],
};
module.exports = createJestConfig(customJestConfig);