Skip to content

Commit

Permalink
test: update snapshots for Webpack 4
Browse files Browse the repository at this point in the history
  • Loading branch information
pmmmwh committed Feb 7, 2022
1 parent 1f6ba4c commit bfbd78a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/loader/loader.test.js
Expand Up @@ -16,7 +16,7 @@ describe('loader', () => {
const { execution, parsed } = compilation.module;

expect(parsed).toMatchInlineSnapshot(`
"__webpack_require__.$Refresh$.runtime = require('react-refresh/runtime.js');
"__webpack_require__.$Refresh$.runtime = require('react-refresh');
module.exports = 'Test';
Expand Down Expand Up @@ -62,7 +62,7 @@ describe('loader', () => {
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! react-refresh/runtime.js */ \\"../../../../node_modules/react-refresh/runtime.js\\");
__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! react-refresh */ \\"../../../../node_modules/react-refresh/runtime.js\\");
module.exports = 'Test';
Expand Down Expand Up @@ -112,7 +112,7 @@ describe('loader', () => {
const { execution, parsed } = compilation.module;

expect(parsed).toMatchInlineSnapshot(`
"__webpack_require__.$Refresh$.runtime = require('react-refresh/runtime.js');
"__webpack_require__.$Refresh$.runtime = require('react-refresh');
export default 'Test';
Expand Down Expand Up @@ -160,7 +160,7 @@ describe('loader', () => {
\\"use strict\\";
__webpack_require__.r(__webpack_exports__);
__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! react-refresh/runtime.js */ \\"../../../../node_modules/react-refresh/runtime.js\\");
__webpack_require__.$Refresh$.runtime = __webpack_require__(/*! react-refresh */ \\"../../../../node_modules/react-refresh/runtime.js\\");
/* harmony default export */ __webpack_exports__[\\"default\\"] = ('Test');
Expand Down

0 comments on commit bfbd78a

Please sign in to comment.