Skip to content

Commit 4204d43

Browse files
committed
cleanup logs
1 parent b399888 commit 4204d43

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

jsdom/transform.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ module.exports = {
55
process(src, filename, config) {
66
const csfTest = transformTestingLib(src);
77

8-
console.log(csfTest);
9-
108
const result = babelTransform(csfTest, {
119
filename,
1210
babelrc: false,

playwright/global-setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
const { globalSetup: playwrightGlobalSetup } = require('jest-playwright-preset');
33

44
module.exports = async function globalSetup(globalConfig) {
5-
console.log('GLOBAL SETUP!!');
65
return playwrightGlobalSetup(globalConfig);
76
};

playwright/global-teardown.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ const { globalTeardown: playwrightGlobalTeardown } = require('jest-playwright-pr
44
module.exports = async function globalTeardown(globalConfig) {
55
// Your global teardown
66
await playwrightGlobalTeardown(globalConfig);
7-
8-
console.log('TEARDOWN');
97
};

src/jsdom/transformTestingLib.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const filePrefixer = template(`
88

99
const testPrefixer = template(
1010
`
11-
console.log({ id: %%id%%, title: %%title%%, name: %%name%%, storyExport: %%storyExport%% });
1211
async () => {
1312
const Composed = await composeStory(%%storyExport%%, exports.default);
1413
const { container } = render(<Composed />);

src/playwright/transformPlaywright.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const testPrefixer = template(
55
`
66
console.log({ id: %%id%%, title: %%title%%, name: %%name%%, storyExport: %%storyExport%% });
77
async () => page.evaluate((id) => __test(id), %%id%%);
8-
`,
8+
`,
99
{
1010
plugins: ['jsx'],
1111
}

0 commit comments

Comments
 (0)