git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-50-may-exclude-must-exclude / test-x-index.js

1672 bytesRaw
1/* eslint-disable max-statements-per-line */
2/* eslint-disable no-empty */
3
4'use strict';
5
6try { require.resolve('reqResSomeLit'); } catch (_) {}
7try { require.resolve('reqResSomeLitMay', 'may-exclude'); } catch (_) {}
8try { require.resolve('reqResSomeLitMust', 'must-exclude'); } catch (_) {}
9try { require('reqSomeLit'); } catch (_) {}
10try { require('reqSomeLitMay', 'may-exclude'); } catch (_) {}
11try { require('reqSomeLitMust', 'must-exclude'); } catch (_) {}
12
13var tryReqResSomeVar = 'some';
14var tryReqResSomeVarMay = 'some';
15var tryReqResSomeVarMust = 'some';
16
17var tryReqSomeVar = 'some';
18var tryReqSomeVarMay = 'some';
19var tryReqSomeVarMust = 'some';
20
21try { require.resolve(tryReqResSomeVar); } catch (_) {}
22try { require.resolve(tryReqResSomeVarMay, 'may-exclude'); } catch (_) {}
23try { require.resolve(tryReqResSomeVarMust, 'must-exclude'); } catch (_) {}
24try { require(tryReqSomeVar); } catch (_) {}
25try { require(tryReqSomeVarMay, 'may-exclude'); } catch (_) {}
26try { require(tryReqSomeVarMust, 'must-exclude'); } catch (_) {}
27
28var reqResSomeVar = 'some';
29var reqResSomeVarMay = 'some';
30var reqResSomeVarMust = 'some';
31
32var reqSomeVar = 'some';
33var reqSomeVarMay = 'some';
34var reqSomeVarMust = 'some';
35
36require.resolve(reqResSomeVar);
37require.resolve(reqResSomeVarMay, 'may-exclude');
38require.resolve(reqResSomeVarMust, 'must-exclude');
39require.resolve(reqResSomeVar, reqResSomeVar);
40require.resolve(reqResSomeVar, 'can-can');
41require(reqSomeVar);
42require(reqSomeVarMay, 'may-exclude');
43require(reqSomeVarMust, 'must-exclude');
44require(reqSomeVar, reqSomeVar);
45require(reqSomeVar, 'can-can');
46
47require.resolve('./test-y-index.js');
48require('./test-y-index.js');
49

Built with git-ssb-web