Rename gram.ts to index.ts.
This commit is contained in:
parent
62e8a6cb4d
commit
7c38f3c882
|
@ -3,7 +3,7 @@ import test from 'ava';
|
||||||
import {html} from 'htm/preact';
|
import {html} from 'htm/preact';
|
||||||
import {render} from 'preact';
|
import {render} from 'preact';
|
||||||
|
|
||||||
import {ConfirmButton, ConfirmButtonProps} from '../../source/gram.js';
|
import {ConfirmButton, ConfirmButtonProps} from '../../source/index.js';
|
||||||
import {sleep} from '../utilities.js';
|
import {sleep} from '../utilities.js';
|
||||||
|
|
||||||
test.before(() => {
|
test.before(() => {
|
||||||
|
|
|
@ -3,7 +3,7 @@ import test from 'ava';
|
||||||
import {html} from 'htm/preact';
|
import {html} from 'htm/preact';
|
||||||
import {render} from 'preact';
|
import {render} from 'preact';
|
||||||
|
|
||||||
import {FeedbackButton, FeedbackButtonProps} from '../../source/gram.js';
|
import {FeedbackButton, FeedbackButtonProps} from '../../source/index.js';
|
||||||
import {sleep} from '../utilities.js';
|
import {sleep} from '../utilities.js';
|
||||||
|
|
||||||
test.before(() => {
|
test.before(() => {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import test from 'ava';
|
||||||
import {html} from 'htm/preact';
|
import {html} from 'htm/preact';
|
||||||
import {render} from 'preact-render-to-string';
|
import {render} from 'preact-render-to-string';
|
||||||
|
|
||||||
import {PrivacyLink} from '../../source/gram.js';
|
import {PrivacyLink} from '../../source/index.js';
|
||||||
|
|
||||||
test('PrivacyLink', (t) => {
|
test('PrivacyLink', (t) => {
|
||||||
t.snapshot(render(html`<${PrivacyLink} />`), 'Empty');
|
t.snapshot(render(html`<${PrivacyLink} />`), 'Empty');
|
||||||
|
|
Loading…
Reference in New Issue