Integration/E2E Introduction#3
Draft
RandoomWalks wants to merge 3 commits into
Draft
Conversation
8ab4b74 to
ca3b4a8
Compare
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
ca3b4a8 to
0d559f5
Compare
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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