Skip to content

Commit 8eb4565

Browse files
test: refactor locations of test code (#1837)
1 parent 269a092 commit 8eb4565

7 files changed

Lines changed: 364 additions & 366 deletions

File tree

‎packages/transactions/tests/abi.test.ts‎

Lines changed: 0 additions & 351 deletions
This file was deleted.

packages/transactions/tests/clarity.test.ts renamed to packages/transactions/tests/clarity/clarity.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { asciiToBytes, bytesToUtf8, concatBytes, hexToBytes, utf8ToBytes } from '@stacks/common';
22
import assert from 'assert';
3-
import { Cl, deserializeAddress } from '../src';
4-
import { BytesReader } from '../src/BytesReader';
3+
import { Cl, deserializeAddress } from '../../src';
4+
import { BytesReader } from '../../src/BytesReader';
55
import {
66
BufferCV,
77
ClarityType,
@@ -37,15 +37,15 @@ import {
3737
trueCV,
3838
tupleCV,
3939
uintCV,
40-
} from '../src/clarity';
40+
} from '../../src/clarity';
4141
import {
4242
cvToJSON,
4343
cvToString,
4444
cvToValue,
4545
getCVTypeString,
4646
isClarityType,
47-
} from '../src/clarity/clarityValue';
48-
import { parse } from '../src/clarity/parser';
47+
} from '../../src/clarity/clarityValue';
48+
import { parse } from '../../src/clarity/parser';
4949

5050
const ADDRESS = 'SP2JXKMSH007NPYAQHKJPQMAQYAD90NQGTVJVQ02B';
5151

packages/transactions/tests/prettyPrint.test.ts renamed to packages/transactions/tests/clarity/prettyPrint.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Cl } from '../src';
1+
import { Cl } from '../../src';
22

33
describe.only('test format of Stacks.js clarity values into clarity style strings', () => {
44
it('formats basic types', () => {

0 commit comments

Comments
 (0)