Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

just-test

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-test - npm Package Compare versions

Comparing version 2.3.13 to 3.0.1

bin/common/constants.js

44

package.json
{
"name": "just-test",
"version": "2.3.13",
"description": "Client side JavaScript tests runner",
"version": "3.0.1",
"description": "JavaScript tests runner",
"keywords": [

@@ -25,6 +25,10 @@ "javascript",

"files": [
"dist"
"bin"
],
"type": "module",
"browser": "../dist/just-test.js",
"exports": {
"./suite": "./bin/runner/just-test.js",
"./random-utils": "./bin/common/random-utils.js",
"./time-utils": "./bin/common/time-utils.js"
},
"author": {

@@ -40,22 +44,24 @@ "name": "Guller Yuri",

"scripts": {
"build": "node ./build/tools/build-dist.mjs",
"lint": "node ./node_modules/eslint/bin/eslint -c ./build/.eslintrc.json --ignore-path ./build/.eslintignore ./src/**/*.js",
"test": "node ./dist/tests-runner/run-tests.js --config=./tests/tests-config.json"
"build": "node ./ci/tools/build.js",
"lint": "npm run lint:runner && npm run lint:server",
"lint:runner": "eslint -c ./ci/.eslintrc.runner.json \"./src/runner/**/*.js\" \"./src/common/**/*.js\" \"./src/ui/**/*.js\" \"./tests/runner/**/*.js\"",
"lint:server": "eslint -c ./ci/.eslintrc.server.json \"./src/common/**/*.js\" \"./src/server/**/*.js\" \"./src/*.js\" \"./ci/**/*.js\" \"./tests/server/**/*.js\"",
"test:dev": "node ./src/local-runner.js config_file=./tests/tests-config-dev.json",
"test:ci": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-chromium.json",
"test:ci:firefox": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-firefox.json",
"test:ci:webkit": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-webkit.json",
"test:ci:node": "node ./bin/local-runner.js config_file=./tests/tests-config-ci-node.json"
},
"dependencies": {
"data-tier": "^2.9.0",
"data-tier-list": "^0.5.0",
"rich-component": "^1.4.0",
"playwright": "^1.1.1",
"chai": "^4.2.0"
"data-tier": "^3.6.1",
"data-tier-list": "^2.2.1",
"es-module-shims": "^1.5.8",
"glob": "^8.0.3",
"playwright": "^1.22.2",
"rich-component": "^1.8.0"
},
"devDependencies": {
"eslint": "^7.2.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-node": "^11.1.0",
"fs-extra": "^9.0.1"
"chai": "^4.3.6",
"eslint": "^8.18.0"
}
}

@@ -27,3 +27,3 @@ [![npm version](https://img.shields.io/npm/v/just-test.svg?label=npm)](https://www.npmjs.com/package/just-test)

- friendly __UI__ on top of the page of the tests, allows immediatelly observe the behavior of the code and the test
- running tests from __NodeJS__ via headless browser (currently: Chromium) to run in __CI/CD automation__
- running tests from __NodeJS__ via headless browser (chromium, firefox, webkit) to run in __CI/CD automation__
- generating __test results__ report (format: __xUnit__)

@@ -42,3 +42,3 @@ - collecting __coverage__ and generating report (formats: __lcov__)

* import into it the [`just-test` APIs](docs/api.md) and get the suite object by the __`getSuite`__ API
* import the stuff your are working on and write some testing code using suite's __`runTest`__ API
* import the stuff your are working on and write some testing code using suite's __`test`__ API
* create an empty `html` file, `test.html` for example

@@ -105,3 +105,3 @@ * import `test.js` into it and open it in browser

suite.addTest(function (pass, fail) { // can skip the options, defaults will be used
suite.addTest(function (pass, fail) { // can skip the config, defaults will be used
...

@@ -108,0 +108,0 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc