From 7225c8c3a678f8634cf6caa8f552d90260bd3e32 Mon Sep 17 00:00:00 2001 From: Vladimir Kurchatkin Date: Wed, 20 Jan 2016 00:12:57 +0300 Subject: [PATCH] test: remove Object.observe from tests Testing this wasn't really useful, besides Object.observe is going to be deprecated. Also this test fails with Chakra (#4765) for obvious reason. PR-URL: https://github.com/nodejs/node/pull/4769 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis Reviewed-By: Brian White Reviewed-By: James M Snell Reviewed-By: Roman Reiss --- test/parallel/test-microtask-queue-integration-domain.js | 7 ------- test/parallel/test-microtask-queue-integration.js | 7 ------- 2 files changed, 14 deletions(-) diff --git a/test/parallel/test-microtask-queue-integration-domain.js b/test/parallel/test-microtask-queue-integration-domain.js index f0d0196ac2f9a7..1e07fa5d415ba3 100644 --- a/test/parallel/test-microtask-queue-integration-domain.js +++ b/test/parallel/test-microtask-queue-integration-domain.js @@ -12,13 +12,6 @@ require('domain'); var implementations = [ function(fn) { Promise.resolve().then(fn); - }, - function(fn) { - var obj = {}; - - Object.observe(obj, fn); - - obj.a = 1; } ]; diff --git a/test/parallel/test-microtask-queue-integration.js b/test/parallel/test-microtask-queue-integration.js index fe873d27c91447..2cc608d96aec3d 100644 --- a/test/parallel/test-microtask-queue-integration.js +++ b/test/parallel/test-microtask-queue-integration.js @@ -5,13 +5,6 @@ var assert = require('assert'); var implementations = [ function(fn) { Promise.resolve().then(fn); - }, - function(fn) { - var obj = {}; - - Object.observe(obj, fn); - - obj.a = 1; } ];