Skip to content

Commit

Permalink
test: remove verbose snapshots (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Kuhrt authored Jun 11, 2020
1 parent b089997 commit c9ee9bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2,130 deletions.
2,127 changes: 0 additions & 2,127 deletions tests/__snapshots__/app.test.ts.snap

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions tests/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ it('integrates together', async () => {
const projectRoot = path.join(__dirname, '/__app')

const projectReadFile = (relPath: string): Promise<string> =>
fs.readFile(path.join(projectRoot, relPath)).then((b) => b.toString())
fs.readFile(path.join(projectRoot, relPath)).then(b => b.toString())

const projectPath = (...paths: string[]): string =>
path.join(projectRoot, ...paths)
Expand Down Expand Up @@ -103,8 +103,6 @@ it('integrates together', async () => {

// For convenience
expect(nexusCoreTypegen).toMatchSnapshot('nexus core typegen')
expect(photonTSD).toMatchSnapshot('photon typescript declaration')
expect(photonSource).toMatchSnapshot('photon source code')
expect(require('@prisma/client').dmmf).toMatchSnapshot('prisma client dmmf')
expect($output).toMatchSnapshot('console.log output')

Expand Down

0 comments on commit c9ee9bb

Please sign in to comment.