1.0.14 • Published 2 years ago

@servant/servant-jasmine-node v1.0.14

Weekly downloads
29
License
GPL-3.0-or-later
Repository
gitlab
Last release
2 years ago

Servant Servant jasmine node

Quick references: Command line, Node API, servant.json, dev-server

What is it?

Servant jasmine node is module for Servant build tool that is intended for running tests in node environment. Module can be included as module @servant/servant-jasmine-node or can be forked from main nodejs process. If you want to run it as process, you need send message with data to say module that you need some work.

import { ServantJson, PackageJson } from "@servant/servant-data";

export type TestsJson = {
	cwd: string;
	entry: string | null;
	files: Array<string>;
	extensions: Array<string>;
	externals: Array<string>;
	packageJson: PackageJson.PackageJsonInfo | null;
	servantJson: ServantJson.ServantJsonInfo | null;
};

Message must contain cwd (working directory path) and entry that is used as a base directory for loading test from.

Property files is array of glob patterns or array of files with tests. Modules send message on every tests progress. These data are TestsProgress and you can read them from message event in parent process.

Property extensions is array of extensions that are resolved by tests.

Property externals is a list of external libraries that are necessary for running tests but there are not a part of your module.

Property packageJson is PackageJsonInfo for package.json.

Property servantJson is ServantJsonInfo for servant.json.

License

Licensed under GPLv3

1.0.11

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.2.1

3 years ago

0.1.34

4 years ago

0.1.32

4 years ago

0.1.33

4 years ago

0.1.31

4 years ago

0.1.30

4 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.24

5 years ago

0.1.25

5 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago