Skip to content

Commit

Permalink
tests(entry): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvdutt committed Mar 11, 2018
1 parent 42ae576 commit f1172cd
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions lib/init/transformations/entry/__snapshots__/entry.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ exports[`entry transforms correctly using "entry-0" data 1`] = `

exports[`entry transforms correctly using "entry-0" data 2`] = `
"module.exports = {
entry: ['index.js', 'app.js']
entry: \\"index.js\\"
}
"
`;

exports[`entry transforms correctly using "entry-0" data 3`] = `
"module.exports = {
entry: ['index.js', 'app.js']
}
"
`;

exports[`entry transforms correctly using "entry-0" data 4`] = `
"module.exports = {
entry: {
index: 'index.js',
Expand All @@ -24,7 +31,7 @@ exports[`entry transforms correctly using "entry-0" data 3`] = `
"
`;

exports[`entry transforms correctly using "entry-0" data 4`] = `
exports[`entry transforms correctly using "entry-0" data 5`] = `
"module.exports = {
entry: {
something,
Expand All @@ -35,42 +42,42 @@ exports[`entry transforms correctly using "entry-0" data 4`] = `
"
`;

exports[`entry transforms correctly using "entry-0" data 5`] = `
exports[`entry transforms correctly using "entry-0" data 6`] = `
"module.exports = {
entry: () => 'index.js'
}
"
`;

exports[`entry transforms correctly using "entry-0" data 6`] = `
exports[`entry transforms correctly using "entry-0" data 7`] = `
"module.exports = {
entry: () => new Promise((resolve) => resolve(['./app', './router']))
}
"
`;

exports[`entry transforms correctly using "entry-0" data 7`] = `
exports[`entry transforms correctly using "entry-0" data 8`] = `
"module.exports = {
entry: entryStringVariable
}
"
`;

exports[`entry transforms correctly using "entry-0" data 8`] = `
exports[`entry transforms correctly using "entry-0" data 9`] = `
"module.exports = {
entry: 'index.js'
}
"
`;

exports[`entry transforms correctly using "entry-0" data 9`] = `
exports[`entry transforms correctly using "entry-0" data 10`] = `
"module.exports = {
entry: ['index.js', 'app.js']
}
"
`;

exports[`entry transforms correctly using "entry-0" data 10`] = `
exports[`entry transforms correctly using "entry-0" data 11`] = `
"module.exports = {
entry: {
something,
Expand All @@ -81,14 +88,14 @@ exports[`entry transforms correctly using "entry-0" data 10`] = `
"
`;

exports[`entry transforms correctly using "entry-0" data 11`] = `
exports[`entry transforms correctly using "entry-0" data 12`] = `
"module.exports = {
entry: () => new Promise((resolve) => resolve(['./app', './router']))
}
"
`;

exports[`entry transforms correctly using "entry-0" data 12`] = `
exports[`entry transforms correctly using "entry-0" data 13`] = `
"module.exports = {
entry: entryStringVariable
}
Expand Down

0 comments on commit f1172cd

Please sign in to comment.