summaryrefslogtreecommitdiff
path: root/test_plugin/tests/test.js
diff options
context:
space:
mode:
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!");
}