removeJsonLoader.test.js.snap 933 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`removeJsonLoader transforms correctly using "removeJsonLoader-0" data 1`] = `
  3. "export default {
  4. module: {
  5. rules: [{
  6. test: /\\\\.yml/,
  7. use: [{
  8. loader: 'another-loader'
  9. }, {
  10. loader: 'yml-loader'
  11. }]
  12. }]
  13. }
  14. }
  15. "
  16. `;
  17. exports[`removeJsonLoader transforms correctly using "removeJsonLoader-1" data 1`] = `
  18. "export default {
  19. module: {
  20. rules: [{
  21. test: /\\\\.yml/,
  22. use: [{
  23. loader: 'yml-loader'
  24. }]
  25. }]
  26. }
  27. }
  28. "
  29. `;
  30. exports[`removeJsonLoader transforms correctly using "removeJsonLoader-2" data 1`] = `
  31. "export default {
  32. module: {
  33. rules: []
  34. }
  35. }
  36. "
  37. `;
  38. exports[`removeJsonLoader transforms correctly using "removeJsonLoader-3" data 1`] = `
  39. "export default {
  40. module: {
  41. rules: []
  42. }
  43. }
  44. "
  45. `;