Skip to content

Commit

Permalink
Reformat nextjs fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoann Chaudet committed Jul 18, 2022
1 parent df54bc9 commit e2bf7f2
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 25 deletions.
9 changes: 4 additions & 5 deletions src/fixtures/expected/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

import { resolve } from 'path'
import {resolve} from 'path'

export default {
alias: {
'style': resolve(__dirname, './assets/style')
style: resolve(__dirname, './assets/style')
},
basePath: '/amazing-new-repo/'/* test */,
}
basePath: '/amazing-new-repo/' /* test */
}
7 changes: 3 additions & 4 deletions src/fixtures/expected/next.config.old.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports={
basePath: '/amazing-new-repo/'/* test */,
}

module.exports = {
basePath: '/amazing-new-repo/' /* test */
}
5 changes: 2 additions & 3 deletions src/fixtures/expected/next.config.old.missing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports={
basePath: '/amazing-new-repo/'
module.exports = {
basePath: '/amazing-new-repo/'
}

9 changes: 4 additions & 5 deletions src/fixtures/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

import { resolve } from 'path'
import {resolve} from 'path'

export default {
alias: {
'style': resolve(__dirname, './assets/style')
style: resolve(__dirname, './assets/style')
},
basePath: '/gh-pages-test'/* test */,
}
basePath: '/gh-pages-test' /* test */
}
7 changes: 3 additions & 4 deletions src/fixtures/next.config.old.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports={
basePath: '/gh-pages-test'/* test */,
}

module.exports = {
basePath: '/gh-pages-test' /* test */
}
5 changes: 1 addition & 4 deletions src/fixtures/next.config.old.missing.js
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
module.exports={

}

module.exports = {}

0 comments on commit e2bf7f2

Please sign in to comment.