Skip to content

Commit

Permalink
Merge pull request #888 from terascope/use-scripts-for-testing
Browse files Browse the repository at this point in the history
Use ts-scripts test-runner for testing standard-asset-apis
  • Loading branch information
sotojn authored Sep 3, 2024
2 parents 9f89116 + 691030e commit 0e8f334
Show file tree
Hide file tree
Showing 5 changed files with 383 additions and 282 deletions.
2 changes: 1 addition & 1 deletion asset/asset.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "standard",
"version": "1.0.1",
"version": "1.0.2",
"description": "Teraslice standard processor asset bundle"
}
4 changes: 2 additions & 2 deletions asset/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "standard",
"displayName": "Asset",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"description": "Teraslice standard processor asset bundle",
"repository": {
Expand All @@ -23,7 +23,7 @@
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@terascope/job-components": "^1.2.0",
"@terascope/standard-asset-apis": "^1.0.0",
"@terascope/standard-asset-apis": "^1.0.1",
"@terascope/utils": "^1.0.0",
"@types/chance": "^1.1.4",
"@types/express": "^4.17.19",
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "standard-assets-bundle",
"displayName": "Standard Assets Bundle",
"version": "1.0.1",
"version": "1.0.2",
"private": true,
"description": "Teraslice standard processor asset bundle",
"type": "module",
Expand All @@ -23,16 +23,16 @@
"lint:fix": "yarn lint --fix",
"publish:changed": "./scripts/publish.sh",
"setup": "yarn && yarn build --force",
"test": "NODE_OPTIONS='--experimental-vm-modules' ts-scripts test asset --",
"test:all": "NODE_OPTIONS='--experimental-vm-modules' ts-scripts test",
"test:debug": "NODE_OPTIONS='--experimental-vm-modules' ts-scripts test --debug asset --",
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' ts-scripts test --watch asset --"
"test": "ts-scripts test asset --",
"test:all": "ts-scripts test",
"test:debug": "ts-scripts test --debug asset --",
"test:watch": "ts-scripts test --watch asset --"
},
"devDependencies": {
"@terascope/eslint-config": "^0.8.0",
"@terascope/job-components": "^1.2.0",
"@terascope/scripts": "1.0.0",
"@terascope/standard-asset-apis": "^1.0.0",
"@terascope/scripts": "^1.0.2",
"@terascope/standard-asset-apis": "^1.0.1",
"@types/express": "^4.17.19",
"@types/jest": "^29.5.12",
"@types/json2csv": "^5.0.7",
Expand Down
9 changes: 5 additions & 4 deletions packages/standard-asset-apis/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/standard-asset-apis",
"displayName": "Standard Asset Apis",
"version": "1.0.0",
"version": "1.0.1",
"description": "A common set of tools for data processing",
"homepage": "https://github.com/terascope/standard-assets",
"repository": "[email protected]:terascope/standard-assets.git",
Expand All @@ -16,15 +16,16 @@
"scripts": {
"build": "tsc --project tsconfig.json",
"build:watch": "yarn build --watch",
"test": "jest",
"test:debug": "env DEBUG='*teraslice*' jest --detectOpenHandles --coverage=false --runInBand",
"test:watch": "jest --coverage=false --notify --watch --onlyChanged"
"test": "ts-scripts test . --",
"test:debug": "ts-scripts test --debug . --",
"test:watch": "ts-scripts test --watch . --"
},
"dependencies": {
"@sindresorhus/fnv1a": "^2.0.1",
"@terascope/utils": "^1.0.0"
},
"devDependencies": {
"@terascope/scripts": "^1.0.2",
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
Expand Down
Loading

0 comments on commit 0e8f334

Please sign in to comment.