Skip to content
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

Fix unit testing #1873

Merged
merged 16 commits into from
Feb 8, 2024
Merged

Fix unit testing #1873

merged 16 commits into from
Feb 8, 2024

Conversation

gabaldon
Copy link
Contributor

@gabaldon gabaldon commented Feb 2, 2024

No description provided.

@gabaldon gabaldon marked this pull request as draft February 2, 2024 11:13
@gabaldon gabaldon force-pushed the fix/unit-testing branch 2 times, most recently from d0b4ea5 to ddb7dba Compare February 2, 2024 11:28
@gabaldon gabaldon changed the title Fixe unit testing Fix unit testing Feb 2, 2024
@gabaldon gabaldon changed the base branch from master to vue3 February 5, 2024 08:29
@gabaldon gabaldon marked this pull request as ready for review February 7, 2024 12:00
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/components/BalanceButtons.vue Outdated Show resolved Hide resolved
src/components/BalanceButtons.vue Outdated Show resolved Hide resolved
src/components/OperatorOutput.vue Outdated Show resolved Hide resolved
src/components/Transaction.vue Show resolved Hide resolved
src/store/uiInteractions.js Outdated Show resolved Hide resolved
src/store/uiInteractions.js Outdated Show resolved Hide resolved
src/main.ts Show resolved Hide resolved
test/unit/api.spec.js Outdated Show resolved Hide resolved
src/main.ts Outdated Show resolved Hide resolved
src/main.ts Outdated Show resolved Hide resolved
@gabaldon gabaldon force-pushed the fix/unit-testing branch 2 times, most recently from 655dff5 to 05aba5c Compare February 8, 2024 12:34
.spyOn(fs, 'readFileSync')
.mockImplementation(() => 'node_url = "public_node_url3"')
test('Should overwrite the configuration with a single url according to the parameters given', () => {
vi.spyOn(fs, 'writeFileSync').mockImplementation
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
vi.spyOn(fs, 'writeFileSync').mockImplementation

tests/unit/walletVersionCompatibility.spec.js Outdated Show resolved Hide resolved
tests/unit/src/components/ExportXprv.spec.js Outdated Show resolved Hide resolved
tests/unit/src/components/ResyncConfirmation.spec.js Outdated Show resolved Hide resolved
tests/unit/src/components/SettingsResync.spec.js Outdated Show resolved Hide resolved
tests/unit/src/components/TransactionList.spec.js Outdated Show resolved Hide resolved
Copy link
Member

@Tommytrg Tommytrg left a comment

Choose a reason for hiding this comment

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

🔥

@gabaldon gabaldon merged commit 1449083 into witnet:vue3 Feb 8, 2024
1 of 4 checks passed
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.

2 participants