-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JST-112: Drop imports using .js extensions and… #527
JST-112: Drop imports using .js extensions and… #527
Conversation
I was debugging the issue with import {add} from "./check";
describe("Example test", () => {
test("a+b", () => {
expect(add(1, 2)).toEqual(3);
})
}); While in case of ts-mocha, that |
06ccc19
to
f2306ef
Compare
…roduce separate artifacts for browser and nodejs runtimes - Removing .js extensions from imports in tests - Removing more .js extensions... - Ported unit tests from mocha/chai to jest - Attempt to bring Goth tests back to life - Change way of importing child_process to fix an issue with rollup and polyfil - Added missing jest related packages - Increase allowed timeout for Goth to 180s - Skipped one test, scheduled for research - Removing newly added .js extensions - Added TS-ignore for the lines which are affected by ts-node issue - Updated integration tests to check with goth on GitHub Actions - Fixed type issue in one of the tests and removed redundant await
… against goerli testnet on local machines - Test formatting (fixup) - Moved the ws-browser test to the test directory as it was causing issues with rollup - Test formatting (fixup) - Fixing the test which came from master branch (fixup) - Fixing the test which came from master branch (fixup) - Report gftp startup errors - Enable manual trigger for the goth workflow - Add debugging information to troubleshoot CI - Fixed task.spec.file and added runInBand to goth tests - Add debugging information to troubleshoot CI - Fixed spawning gftp by shell - Wait for GFTP to start properly before interacting with it - Fix-up - Logging update - Start and stop Goth via global setup - Adjusted timeouts - Timeout data type patch - Fixed logging in tests, added global startup timeut and brought batck import.meta.url - Dealing with remaining integration test failures - Added missing import - Force exit integration tests
c1022f3
to
4bc6167
Compare
- mocha - chai - quibble - ts-mocha - chai-uuid - chai-spies - chai-as-promised - @types/mocha - @istanbuljs/nyc-config-typescript - nyc
/examples/adv-web-example/.nuxt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not needed anymore
"test": "npm run test:unit && npm run test:integration", | ||
"test:unit": "jest --config tests/unit/jest.config.json", | ||
"test:integration": "jest --config tests/integration/jest.config.json tests/integration/**.spec.ts --runInBand --forceExit", | ||
"test:integration:no-goth": "jest tests/integration/**.spec.ts --testTimeout=180000 --runInBand --forceExit", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeout is defined in test/integration/jest.config.json
so probably not needed here..
yajsapi/package/repo_resolver.ts
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is to be deleted, no longer needed
adjust rollup config to produce separate artifacts for browser and nodejs runtimes