123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`comments.js 1`] = `
- var inspect = 4 === util.inspect.length
- ? // node <= 0.8.x
- (function(v, colors) {
- return util.inspect(v, void 0, void 0, colors);
- })
- : // node > 0.8.x
- (function(v, colors) {
- return util.inspect(v, { colors: colors });
- });
- var inspect = 4 === util.inspect.length
- ? // node <= 0.8.x
- (function(v, colors) {
- return util.inspect(v, void 0, void 0, colors);
- })
- : // node > 0.8.x
- (function(v, colors) {
- return util.inspect(v, { colors: colors });
- });
- const extractTextPluginOptions = shouldUseRelativeAssetPaths
- // Making sure that the publicPath goes back to to build folder.
- ? { publicPath: Array(cssFilename.split('/').length).join('../') } :
- {};
- const extractTextPluginOptions = shouldUseRelativeAssetPaths
- ? // Making sure that the publicPath goes back to to build folder.
- { publicPath: Array(cssFilename.split("/").length).join("../") }
- : {};
- const extractTextPluginOptions = shouldUseRelativeAssetPaths // Making sure that the publicPath goes back to to build folder.
- ? { publicPath: Array(cssFilename.split("/").length).join("../") }
- : {};
- const { configureStore } = process.env.NODE_ENV === "production"
- ? require("./configureProdStore") // a
- : require("./configureDevStore"); // b
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- var inspect =
- 4 === util.inspect.length
- ? // node <= 0.8.x
- function(v, colors) {
- return util.inspect(v, void 0, void 0, colors);
- }
- : // node > 0.8.x
- function(v, colors) {
- return util.inspect(v, { colors: colors });
- };
- var inspect =
- 4 === util.inspect.length
- ? // node <= 0.8.x
- function(v, colors) {
- return util.inspect(v, void 0, void 0, colors);
- }
- : // node > 0.8.x
- function(v, colors) {
- return util.inspect(v, { colors: colors });
- };
- const extractTextPluginOptions = shouldUseRelativeAssetPaths
- ? // Making sure that the publicPath goes back to to build folder.
- { publicPath: Array(cssFilename.split("/").length).join("../") }
- : {};
- const extractTextPluginOptions = shouldUseRelativeAssetPaths
- ? // Making sure that the publicPath goes back to to build folder.
- { publicPath: Array(cssFilename.split("/").length).join("../") }
- : {};
- const extractTextPluginOptions = shouldUseRelativeAssetPaths // Making sure that the publicPath goes back to to build folder.
- ? { publicPath: Array(cssFilename.split("/").length).join("../") }
- : {};
- const { configureStore } =
- process.env.NODE_ENV === "production"
- ? require("./configureProdStore") // a
- : require("./configureDevStore"); // b
- `;
- exports[`new-expression.js 1`] = `
- const testConsole = new TestConsole(
- config.useStderr ? process.stderr : process.stdout
- );
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- const testConsole = new TestConsole(
- config.useStderr ? process.stderr : process.stdout
- );
- `;
- exports[`no-confusing-arrow.js 1`] = `
- // no-confusing-arrow
- var x = a => 1 ? 2 : 3;
- var x = a <= 1 ? 2 : 3;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- // no-confusing-arrow
- var x = a => (1 ? 2 : 3);
- var x = a <= 1 ? 2 : 3;
- `;
|