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

Bump bunit.web.testcomponents from 1.9.8 to 1.10.14 in /src #1260

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 19, 2022

Bumps bunit.web.testcomponents from 1.9.8 to 1.10.14.

Release notes

Sourced from bunit.web.testcomponents's releases.

1.10.14

Added

  • Added new test double FakeWebAssemblyHostEnvironment that implements IWebAssemblyHostEnvironment. By @​KristofferStrube.

  • Added Bind method to parameter builder that makes it easier to emulate the @bind-Value syntax in C#-based tests.

    When writing tests in razor files, the @bind- directive can be directly applied like this:

    <MyComponent @bind-Value="myParam"></MyComponent>

    The same expression in C# syntax is more verbose like this:

    RenderComponent<MyComponent>(ps => ps
      .Add(c => c.Value, value)
      .Add(c => c.ValueChanged, newValue => value = newValue)
      .Add(c => c.ValueExpression, () => value));

    With the new Bind method this can be done in one method:

    RenderComponent<MyComponent>(ps => ps
      .Bind(c => c.Value, value, newValue => value = newValue, () => value));

    By @​linkdotnet and @​egil.

  • Added support for NavigationLock, which allows user code to intercept and prevent navigation. By @​linkdotnet and @​egil.

Fixed

  • JSInterop.VerifyInvoke reported the wrong number of actual invocations of a given identifier. Reported by @​otori. Fixed by @​linkdotnet.
Changelog

Sourced from bunit.web.testcomponents's changelog.

[1.10.14] - 2022-09-16

Added

  • Added new test double FakeWebAssemblyHostEnvironment that implements IWebAssemblyHostEnvironment. By @​KristofferStrube.

  • Added Bind method to parameter builder that makes it easier to emulate the @bind-Value syntax in C#-based tests.

    When writing tests in razor files, the @bind- directive can be directly applied like this:

    <MyComponent @bind-Value="myParam"></MyComponent>

    The same expression in C# syntax is more verbose like this:

    RenderComponent<MyComponent>(ps => ps
      .Add(c => c.Value, value)
      .Add(c => c.ValueChanged, newValue => value = newValue)
      .Add(c => c.ValueExpression, () => value));

    With the new Bind method this can be done in one method:

    RenderComponent<MyComponent>(ps => ps
      .Bind(c => c.Value, value, newValue => value = newValue, () => value));

    By @​linkdotnet and @​egil.

  • Added support for NavigationLock, which allows user code to intercept and prevent navigation. By @​linkdotnet and @​egil.

Fixed

  • JSInterop.VerifyInvoke reported the wrong number of actual invocations of a given identifier. Reported by @​otori. Fixed by @​linkdotnet.
Commits
  • a0af4e1 Updated CHANGELOG.md for 1.10.14 release
  • 39ae49e Set version to '1.10'
  • c25adbf Merge branch 'stable'
  • bf8fc00 build(deps): Bump System.Text.Json from 6.0.5 to 6.0.6
  • 2931a45 Feature/navigation lock (#809)
  • 586bd91 fix: align nullability of anglesharp wrapper with anglesharp
  • 579cf71 fix: update dependencies, remove analyzer
  • 2e3ed60 added: FakeWebAssembleHostEnvironment
  • 415183a build(deps): Bump Meziantou.Analyzer from 1.0.721 to 1.0.723
  • 68b9348 build(deps): bump BenchmarkDotNet from 0.13.1 to 0.13.2 (#844)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner September 19, 2022 13:57
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Sep 19, 2022
@dependabot dependabot bot force-pushed the dependabot/nuget/src/bunit.web.testcomponents-1.10.14 branch from 743ec63 to 9bf6f27 Compare September 19, 2022 17:51
@dependabot dependabot bot force-pushed the dependabot/nuget/src/bunit.web.testcomponents-1.10.14 branch 2 times, most recently from e48bbf2 to 820f47d Compare September 19, 2022 19:33
@codecov
Copy link

codecov bot commented Sep 19, 2022

Codecov Report

Base: 88.22% // Head: 88.22% // No change to project coverage 👍

Coverage data is based on head (c703f29) compared to base (d6909e1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1260   +/-   ##
=======================================
  Coverage   88.22%   88.22%           
=======================================
  Files         222      222           
  Lines        6826     6826           
=======================================
  Hits         6022     6022           
  Misses        804      804           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dependabot dependabot bot force-pushed the dependabot/nuget/src/bunit.web.testcomponents-1.10.14 branch from 820f47d to c6a59ff Compare September 19, 2022 20:10
@kbeaugrand
Copy link
Member

@dependabot rebase

Bumps [bunit.web.testcomponents](https://github.com/bUnit-dev/bUnit) from 1.9.8 to 1.10.14.
- [Release notes](https://github.com/bUnit-dev/bUnit/releases)
- [Changelog](https://github.com/bUnit-dev/bUnit/blob/main/CHANGELOG.md)
- [Commits](bUnit-dev/bUnit@v1.9.8...v1.10.14)

---
updated-dependencies:
- dependency-name: bunit.web.testcomponents
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/src/bunit.web.testcomponents-1.10.14 branch from c6a59ff to c703f29 Compare September 19, 2022 21:23
@kbeaugrand kbeaugrand merged commit 6e00e18 into main Sep 19, 2022
@kbeaugrand kbeaugrand deleted the dependabot/nuget/src/bunit.web.testcomponents-1.10.14 branch September 19, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant