diff --git a/package.json b/package.json index 24e7fc5b..a1d355a4 100644 --- a/package.json +++ b/package.json @@ -16,11 +16,11 @@ "scripts": { "mrm": "mrm --preset=@adonisjs/mrm-preset", "pretest": "npm run lint", - "test:sqlite": "cross-env DB=sqlite FORCE_COLOR=true node japaFile.js", - "test:mysql": "cross-env DB=mysql FORCE_COLOR=true node japaFile.js", - "test:mysql_legacy": "cross-env DB=mysql_legacy FORCE_COLOR=true node japaFile.js", - "test:mssql": "cross-env DB=mssql FORCE_COLOR=true node japaFile.js", - "test:pg": "cross-env DB=pg FORCE_COLOR=true node japaFile.js", + "test:sqlite": "cross-env DB=sqlite FORCE_COLOR=true node ./.bin/test.js", + "test:mysql": "cross-env DB=mysql FORCE_COLOR=true node ./.bin/test.js", + "test:mysql_legacy": "cross-env DB=mysql_legacy FORCE_COLOR=true node ./.bin/test.js", + "test:mssql": "cross-env DB=mssql FORCE_COLOR=true node ./.bin/test.js", + "test:pg": "cross-env DB=pg FORCE_COLOR=true node ./.bin/test.js", "test:docker": "npm run test:sqlite && npm run test:mysql && npm run test:mysql_legacy && npm run test:pg && npm run test:mssql", "test": "docker-compose -f docker-compose.yml -f docker-compose-test.yml build && docker-compose -f docker-compose.yml -f docker-compose-test.yml run --rm test", "lint": "eslint . --ext=.ts",