2.1.17 • Published 10 months ago

@svelte-add/testing-library v2.1.17

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@svelte-add/testing-library

This package provides core tools for testing your adder for different environments and options. Currently we execute tests against 5 project templates:

  • svelte-js
  • svelte-ts
  • kit-js
  • kit-js-comments
  • kit-ts

Additionally we will test your adder for each option combination that you specify.

Here is a sample usage example:

// test.js

import { remoteControl } from '@svelte-add/core/internal';
import { testAdder } from '@svelte-add/testing-library';

remoteControl.enable();
/** @type {import('@svelte-add/core/adder/config').AdderWithoutExplicitArgs} */
const adder = /** @type {any} */ (await import('./index.js')).default;
remoteControl.disable();

testAdder(adder, {
	outputDirectory: './.outputs',
	headless: true,
	pauseExecutionAfterBrowser: false,
});
2.1.2

12 months ago

2.0.15

12 months ago

2.1.1

12 months ago

2.0.16

12 months ago

2.1.4

12 months ago

2.0.13

12 months ago

2.1.3

12 months ago

2.0.14

12 months ago

2.1.6

11 months ago

2.0.11

1 year ago

2.0.7

1 year ago

2.1.5

11 months ago

2.0.12

1 year ago

2.1.8

11 months ago

2.0.9

1 year ago

2.1.7

11 months ago

2.0.10

1 year ago

2.0.8

1 year ago

2.1.0

12 months ago

2.1.9

11 months ago

2.0.17

12 months ago

2.1.16

10 months ago

2.1.17

10 months ago

2.1.14

10 months ago

2.1.15

10 months ago

2.1.12

11 months ago

2.1.13

10 months ago

2.1.10

11 months ago

2.1.11

11 months ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago