diff options
Diffstat (limited to 'node_modules/es-abstract/test/es2016.js')
-rw-r--r-- | node_modules/es-abstract/test/es2016.js | 170 |
1 files changed, 166 insertions, 4 deletions
diff --git a/node_modules/es-abstract/test/es2016.js b/node_modules/es-abstract/test/es2016.js index 4e9dd2af2..611ea6a07 100644 --- a/node_modules/es-abstract/test/es2016.js +++ b/node_modules/es-abstract/test/es2016.js @@ -1,11 +1,173 @@ 'use strict'; var ES = require('../').ES2016; +var boundES = require('./helpers/createBoundESNamespace')(ES); var ops = require('../operations/2016'); -// jscs:disable -var expectedMissing = ['CreateMethodProperty', 'DefinePropertyOrThrow', 'DeletePropertyOrThrow', 'Construct', 'SetIntegrityLevel', 'TestIntegrityLevel', 'CreateArrayFromList', 'CreateListFromArrayLike', 'OrdinaryHasInstance', 'EnumerableOwnNames', 'GetIterator', 'IteratorNext', 'IteratorComplete', 'IteratorValue', 'IteratorStep', 'IteratorClose', 'CreateListIterator', 'thisNumberValue', 'thisTimeValue', 'thisStringValue', 'RegExpBuiltinExec', 'IsPromise', 'OrdinarySet', 'NormalCompletion']; -// jscs:enable +var expectedMissing = [ + 'abs', + 'AddRestrictedFunctionProperties', + 'AllocateArrayBuffer', + 'AllocateTypedArray', + 'AllocateTypedArrayBuffer', + 'BlockDeclarationInstantiation', + 'BoundFunctionCreate', + 'Canonicalize', + 'CharacterRange', + 'CharacterRangeOrUnion', + 'CharacterSetMatcher', + 'CloneArrayBuffer', + 'Completion', + 'Construct', + 'CopyDataBlockBytes', + 'CreateArrayFromList', + 'CreateArrayIterator', + 'CreateBuiltinFunction', + 'CreateByteDataBlock', + 'CreateDynamicFunction', + 'CreateIntrinsics', + 'CreateListIterator', + 'CreateMapIterator', + 'CreateMappedArgumentsObject', + 'CreatePerIterationEnvironment', + 'CreateRealm', + 'CreateResolvingFunctions', + 'CreateSetIterator', + 'CreateStringIterator', + 'CreateUnmappedArgumentsObject', + 'Decode', + 'DetachArrayBuffer', + 'Encode', + 'EnqueueJob', + 'EnumerateObjectProperties', + 'EscapeRegExpPattern', + 'EvalDeclarationInstantiation', + 'EvaluateCall', + 'EvaluateDirectCall', + 'EvaluateNew', + 'floor', + 'ForBodyEvaluation', + 'ForIn/OfBodyEvaluation', + 'ForIn/OfHeadEvaluation', + 'FulfillPromise', + 'FunctionAllocate', + 'FunctionCreate', + 'FunctionDeclarationInstantiation', + 'FunctionInitialize', + 'GeneratorFunctionCreate', + 'GeneratorResume', + 'GeneratorResumeAbrupt', + 'GeneratorStart', + 'GeneratorValidate', + 'GeneratorYield', + 'GetActiveScriptOrModule', + 'GetFunctionRealm', + 'GetGlobalObject', + 'GetIdentifierReference', + 'GetModuleNamespace', + 'GetNewTarget', + 'GetSuperConstructor', + 'GetTemplateObject', + 'GetThisEnvironment', + 'GetThisValue', + 'GetValue', + 'GetValueFromBuffer', + 'GetViewValue', + 'GlobalDeclarationInstantiation', + 'HostPromiseRejectionTracker', + 'HostReportErrors', + 'HostResolveImportedModule', + 'IfAbruptRejectPromise', + 'ImportedLocalNames', + 'InitializeBoundName', + 'InitializeHostDefinedRealm', + 'InitializeReferencedBinding', + 'IntegerIndexedElementGet', + 'IntegerIndexedElementSet', + 'IntegerIndexedObjectCreate', + 'InternalizeJSONProperty', + 'IsAnonymousFunctionDefinition', + 'IsCompatiblePropertyDescriptor', + 'IsDetachedBuffer', + 'IsInTailPosition', + 'IsLabelledFunction', + 'IsWordChar', + 'LocalTime', + 'LoopContinues', + 'MakeArgGetter', + 'MakeArgSetter', + 'MakeClassConstructor', + 'MakeConstructor', + 'MakeMethod', + 'MakeSuperPropertyReference', + 'max', + 'min', + 'ModuleNamespaceCreate', + 'NewDeclarativeEnvironment', + 'NewFunctionEnvironment', + 'NewGlobalEnvironment', + 'NewModuleEnvironment', + 'NewObjectEnvironment', + 'NewPromiseCapability', + 'NextJob', + 'NormalCompletion', + 'ObjectDefineProperties', + 'OrdinaryCallBindThis', + 'OrdinaryCallEvaluateBody', + 'OrdinaryCreateFromConstructor', + 'OrdinaryDelete', + 'OrdinaryGet', + 'OrdinaryIsExtensible', + 'OrdinaryOwnPropertyKeys', + 'OrdinaryPreventExtensions', + 'OrdinarySet', + 'ParseModule', + 'ParseScript', + 'PerformEval', + 'PerformPromiseAll', + 'PerformPromiseRace', + 'PerformPromiseThen', + 'PrepareForOrdinaryCall', + 'PrepareForTailCall', + 'PromiseReactionJob', + 'PromiseResolveThenableJob', + 'ProxyCreate', + 'PutValue', + 'QuoteJSONString', + 'RegExpAlloc', + 'RegExpBuiltinExec', + 'RegExpCreate', + 'RegExpInitialize', + 'RejectPromise', + 'RepeatMatcher', + 'ResolveBinding', + 'ResolveThisBinding', + 'ReturnIfAbrupt', + 'ScriptEvaluation', + 'ScriptEvaluationJob', + 'SerializeJSONArray', + 'SerializeJSONObject', + 'SerializeJSONProperty', + 'SetDefaultGlobalBindings', + 'SetRealmGlobalObject', + 'SetValueInBuffer', + 'SetViewValue', + 'SortCompare', + 'SplitMatch', + 'StringCreate', + 'TopLevelModuleEvaluationJob', + 'ToString Applied to the Number Type', + 'TriggerPromiseReactions', + 'TypedArrayCreate', + 'TypedArraySpeciesCreate', + 'UpdateEmpty', + 'UTC', + 'UTF16Decode', + 'UTF16Encoding', + 'ValidateTypedArray' +]; -require('./tests').es2016(ES, ops, expectedMissing); +require('./tests').es2016(boundES, ops, expectedMissing); + +require('./helpers/runManifestTest')(require('tape'), ES, 2016); |