From 4a132c80135365359ebaf6b07ad2edef766a6e6e Mon Sep 17 00:00:00 2001 From: krigga Date: Fri, 1 Dec 2023 17:43:04 +0300 Subject: [PATCH] fix: test templates chore: bump version chore: changelog --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/templates/func/counter/tests/spec.ts.template | 2 +- src/templates/func/empty/tests/spec.ts.template | 2 +- src/templates/tact/counter/tests/spec.ts.template | 2 +- src/templates/tact/empty/tests/spec.ts.template | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f8b459..8ec48e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.14.1] - 2023-12-01 + +### Fixed + +- Fixed test templates (added missing imports) + ## [0.14.0] - 2023-11-23 ### Added diff --git a/package.json b/package.json index 7aaec1c..d5b93a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ton/blueprint", - "version": "0.14.0", + "version": "0.14.1", "description": "Framework for development of TON smart contracts", "main": "dist/index.js", "bin": "./dist/cli/cli.js", diff --git a/src/templates/func/counter/tests/spec.ts.template b/src/templates/func/counter/tests/spec.ts.template index a71384b..0bd77f1 100644 --- a/src/templates/func/counter/tests/spec.ts.template +++ b/src/templates/func/counter/tests/spec.ts.template @@ -1,5 +1,5 @@ {{name}}.spec.ts -import { Blockchain, SandboxContract } from '@ton/sandbox'; +import { Blockchain, SandboxContract, TreasuryContract } from '@ton/sandbox'; import { Cell, toNano } from '@ton/core'; import { {{name}} } from '../wrappers/{{name}}'; import '@ton/test-utils'; diff --git a/src/templates/func/empty/tests/spec.ts.template b/src/templates/func/empty/tests/spec.ts.template index 923914d..3e9ae32 100644 --- a/src/templates/func/empty/tests/spec.ts.template +++ b/src/templates/func/empty/tests/spec.ts.template @@ -1,5 +1,5 @@ {{name}}.spec.ts -import { Blockchain, SandboxContract } from '@ton/sandbox'; +import { Blockchain, SandboxContract, TreasuryContract } from '@ton/sandbox'; import { Cell, toNano } from '@ton/core'; import { {{name}} } from '../wrappers/{{name}}'; import '@ton/test-utils'; diff --git a/src/templates/tact/counter/tests/spec.ts.template b/src/templates/tact/counter/tests/spec.ts.template index b0dc175..fea9d39 100644 --- a/src/templates/tact/counter/tests/spec.ts.template +++ b/src/templates/tact/counter/tests/spec.ts.template @@ -1,5 +1,5 @@ {{name}}.spec.ts -import { Blockchain, SandboxContract } from '@ton/sandbox'; +import { Blockchain, SandboxContract, TreasuryContract } from '@ton/sandbox'; import { toNano } from '@ton/core'; import { {{name}} } from '../wrappers/{{name}}'; import '@ton/test-utils'; diff --git a/src/templates/tact/empty/tests/spec.ts.template b/src/templates/tact/empty/tests/spec.ts.template index 8edddb7..2e98a56 100644 --- a/src/templates/tact/empty/tests/spec.ts.template +++ b/src/templates/tact/empty/tests/spec.ts.template @@ -1,5 +1,5 @@ {{name}}.spec.ts -import { Blockchain, SandboxContract } from '@ton/sandbox'; +import { Blockchain, SandboxContract, TreasuryContract } from '@ton/sandbox'; import { toNano } from '@ton/core'; import { {{name}} } from '../wrappers/{{name}}'; import '@ton/test-utils';