Skip to content

Add slots and replace/rename functionality. #171

Add slots and replace/rename functionality.

Add slots and replace/rename functionality. #171

Triggered via pull request October 30, 2024 19:40
Status Failure
Total duration 57s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
test/barrel.test.tsx > exports everything from source files within it: packages/typescript/test/barrel.test.tsx#L20
AssertionError: expected 'export * from "./c1_ts";\nexport * fr…' to be 'export * from "./c1.js";\nexport * fr…' // Object.is equality - Expected + Received - export * from "./c1.js"; + export * from "./c1_ts"; - export * from "./c2.js"; + export * from "./c2_ts"; + export * from "./index_ts"; ❯ test/barrel.test.tsx:20:57
test/barrel.test.tsx > ignores non-TS files: packages/typescript/test/barrel.test.tsx#L42
AssertionError: expected 'export * from "./test1_ts";\nexport *…' to be 'export * from "./test1.js";\nexport *…' // Object.is equality - Expected + Received - export * from "./test1.js"; + export * from "./test1_ts"; - export * from "./test2.js"; + export * from "./test2_ts"; + export * from "./index_ts"; ❯ test/barrel.test.tsx:42:36
test/basic.test.tsx > works: packages/typescript/test/basic.test.tsx#L72
AssertionError: expected 'import { sayHello, sayGoodbye } from …' to deeply equal 'import { sayHello, sayGoodbye } from …' - Expected + Received - import { sayHello, sayGoodbye } from "./test1.js"; + import { sayHello, sayGoodbye } from "./test1_ts"; console.log(sayHello("world")); console.log(sayGoodbye("world")); ❯ test/basic.test.tsx:72:46
test/imports.test.tsx > works with default imports: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import asdf from "./test1_ts";\n\ncon…' to be 'import asdf from "./test1.js";\n\ncon…' // Object.is equality - Expected + Received - import asdf from "./test1.js"; + import asdf from "./test1_ts"; const v = asdf; ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:22:3
test/imports.test.tsx > works with named imports: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import { test } from "./test1_ts";\n\…' to be 'import { test } from "./test1.js";\n\…' // Object.is equality - Expected + Received - import { test } from "./test1.js"; + import { test } from "./test1_ts"; const v = test; ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:49:3
test/imports.test.tsx > works with default and named imports: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import test1, { test2 } from "./test1…' to be 'import test1, { test2 } from "./test1…' // Object.is equality - Expected + Received - import test1, { test2 } from "./test1.js"; + import test1, { test2 } from "./test1_ts"; const v1 = test1; const v2 = test2; ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:78:3
test/imports.test.tsx > works with default and named imports and name conflicts: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import test1_1, { test2 as test2_1 } …' to be 'import test1_1, { test2 as test2_1 } …' // Object.is equality - Expected + Received - import test1_1, { test2 as test2_1 } from "./test1.js"; + import test1_1, { test2 as test2_1 } from "./test1_ts"; - import test1_2, { test2 as test2_2 } from "./test2.js"; + import test1_2, { test2 as test2_2 } from "./test2_ts"; const v1 = test1_1; const v1_1 = test2_1; const v2 = test1_2; const v3 = test1_2; const v4 = test2_2; ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:119:3
test/imports.test.tsx > works with default and named imports and name conflicts and references in nested scopes: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import test1_1, { test2 as test2_1 } …' to be 'import test1_1, { test2 as test2_1 } …' // Object.is equality - Expected + Received - import test1_1, { test2 as test2_1 } from "./test1.js"; + import test1_1, { test2 as test2_1 } from "./test1_ts"; - import test1_2, { test2 as test2_2 } from "./test2.js"; + import test1_2, { test2 as test2_2 } from "./test2_ts"; const v1 = test1_1; const v1_1 = test2_1; function foo() { const v2 = test1_2; const v3 = test1_2; const v4 = test2_2; } ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:174:3
test/imports.test.tsx > works with imports from different directories: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import { test2 } from "../test2_ts";\…' to be 'import { test2 } from "../test2.js";\…' // Object.is equality - Expected + Received - import { test2 } from "../test2.js"; + import { test2 } from "../test2_ts"; export function test() { } const v = test2 ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:223:3
test/imports.test.tsx > handles conflicts with local declarations: packages/typescript/test/utils.tsx#L57
AssertionError: expected 'import { test as test_1 } from "./src…' to be 'import { test as test_1 } from "./src…' // Object.is equality - Expected + Received - import { test as test_1 } from "./src/test1.js"; + import { test as test_1 } from "./src/test1_ts"; const v = test_1; export function test() { } ❯ Module.assertFileContents test/utils.tsx:57:27 ❯ test/imports.test.tsx:260:3
lint: packages/core/test/components/slot.test.tsx#L58
Unexpected console statement
lint: packages/core/test/components/slot.test.tsx#L111
Unexpected console statement
lint: packages/core/test/components/slot.test.tsx#L158
Unexpected console statement