From c821e8f2f1fb8ad5e9eb00854277cafc8c80b2f5 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sun, 6 Sep 2020 02:34:02 +0200 Subject: Move JSON ops to deno_core (#7336) --- test_plugin/tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test_plugin/tests') 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!"); } -- cgit v1.2.3