Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 committed Jul 28, 2024
1 parent 9f3595f commit 0fdc506
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions test/__snapshots__/loader.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,6 @@ exports[`loader should work with object value with "default" syntax: warnings 1`

exports[`loader should work with object value: errors 1`] = `[]`;

exports[`loader should work with object value: errors 2`] = `[]`;

exports[`loader should work with object value: module 1`] = `
"var Foo = Foo || {};
var Bar = Bar || {};
Expand Down Expand Up @@ -418,41 +416,6 @@ export {
"
`;

exports[`loader should work with object value: module 2`] = `
"var Foo = Foo || {};
var Bar = Bar || {};
var Baz = {
nestedNumber: '12',
nestedFunction: function test() {}
};
var simple = function simple() {};
var simple_foo = [1, 2, 3, 4, 5];
Foo.Image = function(width, height, data){
this.width = width || 0;
this.height = height || 0;
this.data = data || [];
};
Bar.test = [1, 2, 3, 4];
class MyClass {
myFunction() {
return 12;
}
}
const single = 'single';
const myVariable = new MyClass();
/*** EXPORTS FROM exports-loader ***/
export {
Foo
};
"
`;

exports[`loader should work with object value: result 1`] = `
{
"Foo": {
Expand All @@ -461,18 +424,8 @@ exports[`loader should work with object value: result 1`] = `
}
`;

exports[`loader should work with object value: result 2`] = `
{
"Foo": {
"Image": [Function],
},
}
`;

exports[`loader should work with object value: warnings 1`] = `[]`;

exports[`loader should work with object value: warnings 2`] = `[]`;

exports[`loader should work with source maps when the "devtool" option is enabled: errors 1`] = `[]`;

exports[`loader should work with source maps when the "devtool" option is enabled: module 1`] = `
Expand Down

0 comments on commit 0fdc506

Please sign in to comment.