summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/top-level-await/module-import-unwrapped_FIXTURE.js
blob: 51417c7c5a7aca72afe45968cead213bc0617af4 (plain)
1
2
3
4
5
6
7
8
9
10
// |reftest| skip -- not a test file
// 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');