-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dx): replace eslint and prettier with biome
- Loading branch information
Showing
532 changed files
with
5,947 additions
and
6,768 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,32 +1,32 @@ | ||
import { type BrowserContext, chromium, test as base } from '@playwright/test' | ||
import path from 'path' | ||
import { fileURLToPath } from 'url' | ||
import path from "node:path" | ||
import { fileURLToPath } from "node:url" | ||
import { type BrowserContext, test as base, chromium } from "@playwright/test" | ||
const __filename = fileURLToPath(import.meta.url) | ||
const __dirname = path.dirname(__filename) | ||
|
||
export const test = base.extend<{ | ||
context: BrowserContext | ||
extensionId: string | ||
}>({ | ||
/* eslint-disable */ | ||
// biome-ignore lint: won't fix | ||
context: async ({}, use) => { | ||
const pathToExtension = path.join(__dirname, '../dist') | ||
const context = await chromium.launchPersistentContext('', { | ||
const pathToExtension = path.join(__dirname, "../dist") | ||
const context = await chromium.launchPersistentContext("", { | ||
headless: false, | ||
args: [ | ||
`--disable-extensions-except=${pathToExtension}`, | ||
`--load-extension=${pathToExtension}` | ||
] | ||
`--load-extension=${pathToExtension}`, | ||
], | ||
}) | ||
await use(context) | ||
await context.close() | ||
}, | ||
extensionId: async ({ context }, use) => { | ||
let [background] = context.serviceWorkers() | ||
if (!background) background = await context.waitForEvent('serviceworker') | ||
if (!background) background = await context.waitForEvent("serviceworker") | ||
|
||
const extensionId = background.url().split('/')[2] | ||
const extensionId = background.url().split("/")[2] | ||
await use(extensionId) | ||
} | ||
}, | ||
}) | ||
export const expect = test.expect |
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,19 +1,19 @@ | ||
export const devnetWallet = { | ||
walletName: 'Devnet Wallet', | ||
spendingPassword: 'SuperSecure777', | ||
walletName: "Devnet Wallet", | ||
spendingPassword: "SuperSecure777", | ||
mnemonic: [ | ||
'habit', | ||
'hope', | ||
'tip', | ||
'crystal', | ||
'because', | ||
'grunt', | ||
'nation', | ||
'idea', | ||
'electric', | ||
'witness', | ||
'alert', | ||
'like' | ||
"habit", | ||
"hope", | ||
"tip", | ||
"crystal", | ||
"because", | ||
"grunt", | ||
"nation", | ||
"idea", | ||
"electric", | ||
"witness", | ||
"alert", | ||
"like", | ||
], | ||
addressTruncated: 'B62qjsV6...ZEumXzxb' | ||
addressTruncated: "B62qjsV6...ZEumXzxb", | ||
} |
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
Oops, something went wrong.