|
|
@@ -5,7 +5,7 @@ import {
|
|
|
findCounterPda,
|
|
|
getIncrementInstruction,
|
|
|
getIncrementInstructionAsync,
|
|
|
-} from '../src';
|
|
|
+} from '../src/index.js';
|
|
|
import {
|
|
|
createCounterForAuthority,
|
|
|
createDefaultSolanaClient,
|
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
generateKeyPairSignerWithSol,
|
|
|
getBalance,
|
|
|
signAndSendTransaction,
|
|
|
-} from './_setup';
|
|
|
+} from './_setup.js';
|
|
|
|
|
|
test('it increments an existing counter by 1 by default', async (t) => {
|
|
|
// Given an authority key pair with an associated counter account of value 0.
|