mirror of https://github.com/tc39/test262.git
Make test async
This commit is contained in:
parent
3f2a2aa464
commit
4853f6d363
|
@ -5,9 +5,16 @@
|
|||
desc: Computed property name from condition expression
|
||||
template: evaluation
|
||||
features: [computed-property-names, top-level-await]
|
||||
flags: [module]
|
||||
flags: [async, module]
|
||||
---*/
|
||||
//- setup
|
||||
try {
|
||||
//- ComputedPropertyName
|
||||
await 9
|
||||
//- value
|
||||
9
|
||||
//- teardown
|
||||
} catch (e) {
|
||||
$DONE(e);
|
||||
}
|
||||
$DONE();
|
||||
|
|
Loading…
Reference in New Issue