tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

module-import-resolution_FIXTURE.js (370B)


      1 // |reftest| skip -- not a test file
      2 // Copyright (C) 2019 Leo Balter. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 
      5 await 1;
      6 await 2;
      7 export default await Promise.resolve(42);
      8 
      9 export const y = await 39;
     10 export const x = await 'named';
     11 
     12 // Bonus: this rejection is not unwrapped
     13 if (false) {
     14  await Promise.reject(42);
     15 }