test262/test/language/module-code/top-level-await/module-import-unwrapped_FIX...

10 lines
295 B
JavaScript
Raw Normal View History

2019-09-25 18:00:25 +02:00
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
await 1;
export default Promise.resolve('default');
export const x = Promise.reject('unwrapped rejection');
export const y = Promise.resolve('unwrapped resolution');