We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668f2c5 commit 7a33e84Copy full SHA for 7a33e84
lib/PuppeteerSharp.Tests/PageTests/EvaluateTests.cs
@@ -125,10 +125,10 @@ public async Task ShouldRejectPromiseWithExeption()
125
{
126
var exception = await Assert.ThrowsAsync<EvaluationFailedException>(() =>
127
128
- return Page.EvaluateFunctionAsync("() => not.existing.object.property");
+ return Page.EvaluateFunctionAsync("() => not_existing_object.property");
129
});
130
131
- Assert.Contains("not is not defined", exception.Message);
+ Assert.Contains("not_existing_object", exception.Message);
132
}
133
134
[Fact]
0 commit comments