Skip to content

Commit

Permalink
feat:ran pnpm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adpthegreat committed Nov 28, 2024
1 parent 8a787b1 commit f2b20c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// single deploy script that's invoked from the CLI, injecting a provider
// configured from the workspace's Anchor.toml.

const anchor = require("@coral-xyz/anchor");
const anchor = require('@coral-xyz/anchor');

module.exports = async function (provider) {
module.exports = async (provider) => {
// Configure client to use the provider.
anchor.setProvider(provider);

Expand Down
2 changes: 1 addition & 1 deletion tokens/create-token/poseidon/create_tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"license": "ISC",
"license": "ISC",
"scripts": {
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import * as anchor from "@coral-xyz/anchor";
import { Program } from "@coral-xyz/anchor";
import { CreateTokens } from "../target/types/create_tokens";
import * as anchor from '@coral-xyz/anchor';
import { Program } from '@coral-xyz/anchor';
import { CreateTokens } from '../target/types/create_tokens';

describe("create_tokens", () => {
describe('create_tokens', () => {
// Configure the client to use the local cluster.
anchor.setProvider(anchor.AnchorProvider.env());

const program = anchor.workspace.CreateTokens as Program<CreateTokens>;

it("Is initialized!", async () => {
it('Is initialized!', async () => {
// Add your test here.
const tx = await program.methods.initialize().rpc();
console.log("Your transaction signature", tx);
console.log('Your transaction signature', tx);
});
});

0 comments on commit f2b20c3

Please sign in to comment.