Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Aug 1, 2024
1 parent 9393f93 commit 2b45582
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions packages/libraries/yoga/tests/yoga.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function handleProcess() {
};
}

test('should not interrupt the process', async () => {
test.only('should not interrupt the process', async () => {
const logger = createHiveTestingLogger();
const clean = handleProcess();
const hive = createHive({
Expand Down Expand Up @@ -101,19 +101,6 @@ test('should not interrupt the process', async () => {
);

await waitFor(50);
expect(
logger
.getLogs()
.split(`\n`)
.filter(item => item.includes(`[hive][info]`))
.join(`\n`),
).toMatchInlineSnapshot(`
[INF] [hive][info] Fetching token details...
[INF] [hive][info] POST http://404.localhost.noop/registry Attempt (1/6)
[ERR] [hive][info] Error: getaddrinfo ENOTFOUND 404.localhost.noop
[ERR] [hive][info] at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:666:666)
[ERR] [hive][info] POST http://404.localhost.noop/registry failed (666ms). getaddrinfo ENOTFOUND 404.localhost.noop
`);
expect(
logger
.getLogs()
Expand Down

0 comments on commit 2b45582

Please sign in to comment.