-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uses esbuild-node-externals to standardize the package - moved the test utils so they can be excluded from the build
- Loading branch information
1 parent
0a3a2dd
commit a28d42d
Showing
77 changed files
with
798 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
import React from 'react' | ||
import { renderLight, renderDark } from 'test-utils' | ||
import { Default } from './{{ name }}.stories' | ||
|
||
it('renders light without error', () => { | ||
const { asFragment } = renderLight(<Default />) | ||
expect(asFragment()).toBeDefined() | ||
}) | ||
|
||
it('renders dark without error', () => { | ||
const { asFragment } = renderDark(<Default />) | ||
expect(asFragment()).toBeDefined() | ||
}) | ||
import React from 'react' import { renderLight, renderDark } from '../../test' | ||
import { Default } from './{{name}}.stories' it('renders light without error', | ||
() => { const { asFragment } = renderLight(<Default />) | ||
expect(asFragment()).toBeDefined() }) it('renders dark without error', () => { | ||
const { asFragment } = renderDark(<Default />) | ||
expect(asFragment()).toBeDefined() }) |
Oops, something went wrong.