docs: create contribute section #18
check-test-success.yml
on: push
check-test-success
26s
Annotations
10 errors
|
src/transformers/add-props/transformer.test.ts > add-props > create props with boolean:
package/src/transformers/add-props/transformer.test.ts#L192
AssertionError: expected '\nimport { App } from "foo";\nconst r…' to deeply equal '\nimport { App } from "foo";\nconst r…'
- Expected
+ Received
import { App } from "foo";
- const result = <App title="hello" description="this is dashboard page" isActive={true} />
+ const result = <App title="hello" description="this is dashboard page" isActive={true}>
❯ src/transformers/add-props/transformer.test.ts:192:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > create props with number:
package/src/transformers/add-props/transformer.test.ts#L164
AssertionError: expected '\nimport { App } from "foo";\nconst r…' to deeply equal '\nimport { App } from "foo";\nconst r…'
- Expected
+ Received
import { App } from "foo";
- const result = <App title="hello" description="this is dashboard page" count={1} />
+ const result = <App title="hello" description="this is dashboard page" count={1}>
❯ src/transformers/add-props/transformer.test.ts:164:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > namespace named export:
package/src/transformers/add-props/transformer.test.ts#L136
AssertionError: expected 'import * as Test from "foo";\nconst r…' to deeply equal 'import * as Test from "foo";\nconst r…'
- Expected
+ Received
import * as Test from "foo";
- const result = <Test.App title="hello" description="this is dashboard page" author={"John"} />
+ const result = <Test.App title="hello" description="this is dashboard page" author={"John"}>
❯ src/transformers/add-props/transformer.test.ts:136:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > namespace default export:
package/src/transformers/add-props/transformer.test.ts#L111
AssertionError: expected 'import * as Test from "foo";\nconst r…' to deeply equal 'import * as Test from "foo";\nconst r…'
- Expected
+ Received
import * as Test from "foo";
- const result = <Test title="hello" description="this is dashboard page" author={"John"} />
+ const result = <Test title="hello" description="this is dashboard page" author={"John"}>
❯ src/transformers/add-props/transformer.test.ts:111:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > default export:
package/src/transformers/add-props/transformer.test.ts#L86
AssertionError: expected 'import Test from "foo";\nconst result…' to deeply equal 'import Test from "foo";\nconst result…'
- Expected
+ Received
import Test from "foo";
- const result = <Test title="hello" description="this is dashboard page" author={"John"} />
+ const result = <Test title="hello" description="this is dashboard page" author={"John"}>
❯ src/transformers/add-props/transformer.test.ts:86:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > nameSpace export:
package/src/transformers/add-props/transformer.test.ts#L61
AssertionError: expected '\nimport { App as Test } from "foo";\…' to deeply equal '\nimport { App as Test } from "foo";\…'
- Expected
+ Received
import { App as Test } from "foo";
- const result = <Test title="hello" description="this is dashboard page" author={"John"} />
+ const result = <Test title="hello" description="this is dashboard page" author={"John"}>
❯ src/transformers/add-props/transformer.test.ts:61:20
|
|
src/transformers/add-props/transformer.test.ts > add-props > named export:
package/src/transformers/add-props/transformer.test.ts#L33
AssertionError: expected '\nimport { App } from "foo";\nconst r…' to deeply equal '\nimport { App } from "foo";\nconst r…'
- Expected
+ Received
import { App } from "foo";
- const result = <App title="hello" description="this is dashboard page" author={"John"} />
+ const result = <App title="hello" description="this is dashboard page" author={"John"}>
❯ src/transformers/add-props/transformer.test.ts:33:20
|
|
src/transformers/change-parameter-object/transformer.test.ts > change-parameter-object > single parameter:
package/src/transformers/change-parameter-object/transformer.test.ts#L189
AssertionError: expected '\n import { dummyFunction } from "…' to deeply equal '\n import { dummyFunction } from "…'
- Expected
+ Received
import { dummyFunction } from "foo";
- dummyFunction({ "title": "hello" });
+ dummyFunction({
+ "title": "hello"
+ });
❯ src/transformers/change-parameter-object/transformer.test.ts:189:20
|
|
src/transformers/change-parameter-object/transformer.test.ts > change-parameter-object > relative import:
package/src/transformers/change-parameter-object/transformer.test.ts#L164
AssertionError: expected '\nimport * as Test from "../test/foo.…' to deeply equal '\nimport * as Test from "../test/foo.…'
- Expected
+ Received
import * as Test from "../test/foo.ts";
- Test.dummyFunction({
- "title": "hello",
- "description": "this is dashboard page"
- });
+ Test.dummyFunction("hello", "this is dashboard page");
❯ src/transformers/change-parameter-object/transformer.test.ts:164:20
|
|
src/transformers/change-parameter-object/transformer.test.ts > change-parameter-object > namespace named export:
package/src/transformers/change-parameter-object/transformer.test.ts#L137
AssertionError: expected '\nimport * as Test from "foo";\nTest.…' to deeply equal '\nimport * as Test from "foo";\nTest.…'
- Expected
+ Received
import * as Test from "foo";
- Test.dummyFunction({
- "title": "hello",
- "description": "this is dashboard page"
- });
+ Test.dummyFunction("hello", "this is dashboard page");
❯ src/transformers/change-parameter-object/transformer.test.ts:137:20
|