Skip to content

Commit

Permalink
Move old tests to tests-old/ and update target (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurushao authored Mar 31, 2024
1 parent 3b8ebe9 commit 8feae65
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 15 deletions.
6 changes: 3 additions & 3 deletions anchor/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ cluster = "localnet"
wallet = "~/.config/solana/id.json"

[scripts]
#test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern glam_investor"
test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern glam_crud"
#test = "../node_modules/.bin/nx run anchor:jest --verbose --testNamePattern devnet"
#test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern glam_investor"
test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern glam_crud"
#test = "../node_modules/.bin/nx run anchor:jest --verbose --testPathPattern tests/ --testNamePattern devnet"

[test]
startup_wait = 50000
Expand Down
20 changes: 16 additions & 4 deletions anchor/target/idl/glam.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
],
"args": [
{
"name": "name",
"name": "fundName",
"type": "string"
},
{
"name": "symbol",
"name": "fundUri",
"type": "string"
},
{
Expand All @@ -66,6 +66,18 @@
{
"name": "activate",
"type": "bool"
},
{
"name": "shareName",
"type": "string"
},
{
"name": "shareSymbol",
"type": "string"
},
{
"name": "shareUri",
"type": "string"
}
]
},
Expand All @@ -91,7 +103,7 @@
}
},
{
"name": "symbol",
"name": "uri",
"type": {
"option": "string"
}
Expand Down Expand Up @@ -587,7 +599,7 @@
"type": "string"
},
{
"name": "symbol",
"name": "uri",
"type": "string"
},
{
Expand Down
40 changes: 32 additions & 8 deletions anchor/target/types/glam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ export type Glam = {
],
"args": [
{
"name": "name",
"name": "fundName",
"type": "string"
},
{
"name": "symbol",
"name": "fundUri",
"type": "string"
},
{
Expand All @@ -66,6 +66,18 @@ export type Glam = {
{
"name": "activate",
"type": "bool"
},
{
"name": "shareName",
"type": "string"
},
{
"name": "shareSymbol",
"type": "string"
},
{
"name": "shareUri",
"type": "string"
}
]
},
Expand All @@ -91,7 +103,7 @@ export type Glam = {
}
},
{
"name": "symbol",
"name": "uri",
"type": {
"option": "string"
}
Expand Down Expand Up @@ -587,7 +599,7 @@ export type Glam = {
"type": "string"
},
{
"name": "symbol",
"name": "uri",
"type": "string"
},
{
Expand Down Expand Up @@ -721,11 +733,11 @@ export const IDL: Glam = {
],
"args": [
{
"name": "name",
"name": "fundName",
"type": "string"
},
{
"name": "symbol",
"name": "fundUri",
"type": "string"
},
{
Expand All @@ -737,6 +749,18 @@ export const IDL: Glam = {
{
"name": "activate",
"type": "bool"
},
{
"name": "shareName",
"type": "string"
},
{
"name": "shareSymbol",
"type": "string"
},
{
"name": "shareUri",
"type": "string"
}
]
},
Expand All @@ -762,7 +786,7 @@ export const IDL: Glam = {
}
},
{
"name": "symbol",
"name": "uri",
"type": {
"option": "string"
}
Expand Down Expand Up @@ -1258,7 +1282,7 @@ export const IDL: Glam = {
"type": "string"
},
{
"name": "symbol",
"name": "uri",
"type": "string"
},
{
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 8feae65

Please sign in to comment.