/
issue-58.test.js.snap
45 lines (42 loc) · 2.61 KB
/
issue-58.test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`/browserify.js /issues /58 should update when CSS dependencies change 1`] = `
"(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\\"function\\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\\"Cannot find module '\\"+i+\\"'\\");throw a.code=\\"MODULE_NOT_FOUND\\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\\"function\\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
require('./packages/browserify/test/output/issues/58/issue.css');
},{\\"./packages/browserify/test/output/issues/58/issue.css\\":2}],2:[function(require,module,exports){
module.exports = {
\\"issue1\\": \\"mce821a830_other1 mc2a3f7922_issue1\\",
\\"issue2\\": \\"mce821a830_other1 mc2a3f7922_issue1 mce821a830_other3 mc2a3f7922_issue2\\"
};
},{\\"./packages/browserify/test/output/issues/58/other.css\\":3}],3:[function(require,module,exports){
module.exports = {
\\"other1\\": \\"mce821a830_other1\\",
\\"other2\\": \\"mce821a830_other2\\",
\\"other3\\": \\"mce821a830_other3\\"
};
},{}]},{},[1]);
"
`;
exports[`/browserify.js /issues /58 should update when CSS dependencies change 2`] = `
"(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\\"function\\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\\"Cannot find module '\\"+i+\\"'\\");throw a.code=\\"MODULE_NOT_FOUND\\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\\"function\\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
require('./packages/browserify/test/output/issues/58/issue.css');
},{\\"./packages/browserify/test/output/issues/58/issue.css\\":2}],2:[function(require,module,exports){
module.exports = {
\\"issue1\\": \\"mce821a830_other1 mc2a3f7922_issue1\\",
\\"issue2\\": \\"mce821a830_other1 mc2a3f7922_issue1 mce821a830_other2 mce821a830_other3 mc2a3f7922_issue2\\"
};
},{}]},{},[1]);
"
`;
exports[`/browserify.js /issues /58 should update when CSS dependencies change 3`] = `
"/* packages/browserify/test/output/issues/58/other.css */
.mce821a830_other1 { color: green; }
.mce821a830_other2 { color: yellow; }
.mce821a830_other3 { background: white; }
/* packages/browserify/test/output/issues/58/issue.css */
.mc2a3f7922_issue1 {
color: teal;
}
.mc2a3f7922_issue2 {
color: aqua;
}"
`;