summaryrefslogtreecommitdiff
path: root/test_plugin/tests/test.js
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2020-09-06 02:34:02 +0200
committerGitHub <noreply@github.com>2020-09-06 02:34:02 +0200
commitc821e8f2f1fb8ad5e9eb00854277cafc8c80b2f5 (patch)
treec429a3c2707a4047fb512443a8468b7e15e5730d /test_plugin/tests/test.js
parent849431eb1d112d1f79f4a327830dc1a5bf22dd47 (diff)
Move JSON ops to deno_core (#7336)
Diffstat (limited to 'test_plugin/tests/test.js')
-rw-r--r--test_plugin/tests/test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js
index 2c1913f92..c9d3c5f01 100644
--- a/test_plugin/tests/test.js
+++ b/test_plugin/tests/test.js
@@ -65,11 +65,11 @@ function runTestOpCount() {
const end = Deno.metrics();
- if (end.opsCompleted - start.opsCompleted !== 1) {
+ if (end.opsCompleted - start.opsCompleted !== 2) {
// one op for the plugin and one for Deno.metrics
throw new Error("The opsCompleted metric is not correct!");
}
- if (end.opsDispatched - start.opsDispatched !== 1) {
+ if (end.opsDispatched - start.opsDispatched !== 2) {
// one op for the plugin and one for Deno.metrics
throw new Error("The opsDispatched metric is not correct!");
}