From 4203041cef23986b6d04d9ac79907ccfab30a3e9 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 20 Jul 2020 13:23:56 -0700 Subject: [PATCH] Add tests for `Reflect[Symbol.toStringTag]` (#2710) Ref https://github.com/tc39/ecma262/pull/2057 Co-authored-by: Leo Balter --- test/built-ins/Reflect/Symbol.toStringTag.js | 21 ++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/built-ins/Reflect/Symbol.toStringTag.js diff --git a/test/built-ins/Reflect/Symbol.toStringTag.js b/test/built-ins/Reflect/Symbol.toStringTag.js new file mode 100644 index 00000000000..203962c4780 --- /dev/null +++ b/test/built-ins/Reflect/Symbol.toStringTag.js @@ -0,0 +1,21 @@ +// Copyright (C) 2020 Jordan Harband. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +description: > + `Symbol.toStringTag` property descriptor +info: | + The initial value of the @@toStringTag property is the String value + "Reflect". + + This property has the attributes { [[Writable]]: false, [[Enumerable]]: + false, [[Configurable]]: true }. +includes: [propertyHelper.js] +features: [Symbol.toStringTag, Reflect] +---*/ + +verifyProperty(Reflect, Symbol.toStringTag, { + value: 'Reflect', + enumerable: false, + writable: false, + configurable: true, +});