Skip to content

Commit

Permalink
chore(js): remove snapshot test for updated prettierrc
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed May 14, 2022
1 parent e450c17 commit fbec847
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`lib --unit-test-runner jest --buildable should generate swcrc for swc 1`] = `
Object {
"overrides": Array [
Object {
"files": "**/*.swcrc",
"options": Object {
"parser": "json",
},
},
],
"singleQuote": true,
}
`;

exports[`lib --unit-test-runner jest should generate test configuration with swc and js 1`] = `
"/* eslint-disable */
const { readFileSync } = require('fs')
Expand Down
1 change: 0 additions & 1 deletion packages/js/src/generators/library/library.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ describe('lib', () => {
});

expect(tree.exists('libs/my-lib/.lib.swcrc')).toBeTruthy();
expect(readJson(tree, '.prettierrc')).toMatchSnapshot();
});

it('should setup jest project using swc', async () => {
Expand Down

0 comments on commit fbec847

Please sign in to comment.