Skip to content

Integration/E2E Introduction#3

Draft
RandoomWalks wants to merge 3 commits into
mainfrom
dev/create_intg_E2E_tests
Draft

Integration/E2E Introduction#3
RandoomWalks wants to merge 3 commits into
mainfrom
dev/create_intg_E2E_tests

Conversation

@RandoomWalks
Copy link
Copy Markdown
Owner

Update project configuration and add server test

• Change project type to module in package.json
• Update build scripts to handle TypeScript test configuration
• Remove unused WorkerMethods.ts file
• Export app from src/server/index.ts for testing
• Add integration test for server API in src/server/server.test.ts
• Create tsconfig.test.json for TypeScript test compilation
• Rename webpack configuration files to use .cjs extension for CommonJS compatibility

@RandoomWalks RandoomWalks force-pushed the dev/create_intg_E2E_tests branch from 8ab4b74 to ca3b4a8 Compare May 13, 2024 16:26
Update project configuration and add server test

 • Change project type to module in package.json
 • Update build scripts to handle TypeScript test configuration
 • Remove unused WorkerMethods.ts file
 • Export app from src/server/index.ts for testing
 • Add integration test for server API in src/server/server.test.ts
 • Create tsconfig.test.json for TypeScript test compilation
 • Rename webpack configuration files to use .cjs extension for CommonJS compatibility
 • Add Babel plugins for class properties, decorators, and runtime transform
 • Include Babel presets for environment and TypeScript
 • Adjust TypeScript configuration for client, worker, and tests
 • Modify test setup and server files for console logging
 • Update package.json with new Babel dependencies
 • Apply changes to diff patches in mock files and configurations
@RandoomWalks RandoomWalks force-pushed the dev/create_intg_E2E_tests branch from ca3b4a8 to 0d559f5 Compare May 13, 2024 19:58
 - Update the mockWorker setup to use a constructor function
 - Replace the direct mockWorker object with a commented-out version
 - Change the test description and method for worker initialization failure
 - Remove the console.error line from the worker initialization failure test
 - Use `it.only` to isolate the worker initialization failure test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant