Skip to content

Node test runner - #245

Merged
diberry merged 29 commits into
MicrosoftDocs:mainfrom
diberry:node-test-runner
Mar 26, 2025
Merged

Node test runner#245
diberry merged 29 commits into
MicrosoftDocs:mainfrom
diberry:node-test-runner

Conversation

@diberry

@diberry diberry commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

image

Comment thread testrunner/tsconfig.json Outdated

@AugustinMauroy AugustinMauroy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with theses changes I'll be able to run test but it's will fail because node.js need .ts file ext

Comment thread testrunner/package.json Outdated
Comment thread testrunner/package.json Outdated
diberry and others added 4 commits March 13, 2025 13:31
Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
Signed-off-by: Dina Berry (MSFT) <diberry@microsoft.com>
Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
Signed-off-by: Dina Berry (MSFT) <diberry@microsoft.com>
Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
Signed-off-by: Dina Berry (MSFT) <diberry@microsoft.com>
Comment thread .devcontainer/devcontainer.json

@AugustinMauroy AugustinMauroy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here with theses changes you il have a correct test suite

Comment thread testrunner/src/mock-function/data/fake-data.ts Outdated
Comment thread testrunner/src/mock-function/index.ts
Comment thread testrunner/src/mock-function/lib/insert.test.ts Outdated
Comment thread testrunner/src/mock-function/lib/insert.ts
Comment thread testrunner/tsconfig.json Outdated
Comment thread testrunner/README.md Outdated
@diberry
diberry requested review from maorleger and sinedied March 17, 2025 15:07

@sinedied sinedied left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work here! Just put a few "nit" comments, nothing important

Comment thread test-with-jest/src/mock-function/data/verify.ts Outdated
Comment thread test-with-jest/package.json Outdated
Comment thread test-with-jest/src/mock-function/index.ts
Comment thread test-with-node-testrunner/package.json Outdated
Comment thread test-with-node-testrunner/src/index.ts Outdated
Comment thread test-with-vitest/package.json Outdated
Comment thread test-with-vitest/src/index.ts Outdated
Comment thread test-with-vitest/tests/01-spies.test.ts Outdated
Comment thread test-with-vitest/tests/insert.test.ts.old Outdated
Co-authored-by: Yohan Lasorsa <noda@free.fr>
Signed-off-by: Dina Berry (MSFT) <diberry@microsoft.com>

@maorleger maorleger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't gotten to vitest yet but a few comments so far - feel free to ask if anything is unclear

In general I love seeing vitest and node test runner getting attention 👍

Comment thread test-with-jest/.editorconfig
Comment thread test-with-jest/package.json Outdated
Comment thread test-with-jest/package.json Outdated
Comment thread test-with-jest/sample.env Outdated
Comment thread test-with-jest/src/fakes/fake-in-mem-db.spec.ts Outdated
Comment thread test-with-jest/src/mock-function/data/connect-to-cosmos.ts Outdated
Comment thread test-with-jest/src/mock-function/data/fake-data.ts Outdated
Comment thread test-with-node-testrunner/package.json
Comment thread test-with-node-testrunner/test/01-spies.test.ts Outdated
@diberry

diberry commented Mar 26, 2025

Copy link
Copy Markdown
Contributor Author

image

@diberry
diberry merged commit 0a83f20 into MicrosoftDocs:main Mar 26, 2025
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.

4 participants