@cycle-robot-drivers/sound
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@cycle-robot-drivers/sound", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -23,4 +23,5 @@ "author": "Michael Jae-Yoon Chung", | ||
"build:es6": "../node_modules/.bin/tsc --project tsconfig.json --module es6 --outDir lib/es6", | ||
"build:doc": "../node_modules/.bin/markdox ./src/* -o api.md && sed -i '1s/^.*$/\\n# API/' api.md && sed -i 's/^#.*/#&/' api.md && cat ../docs/readmes/${PWD##*/}.md api.md > README.md && rm api.md", | ||
"test": "../node_modules/.bin/jest --config ../jest.config.common.js --rootDir ./" | ||
} | ||
} |
@@ -0,1 +1,3 @@ | ||
<!-- This README.md is automatically generated. Edit the JSDoc comments in source code or the md files in docs/readmes/. --> | ||
# @cycle-robot-drivers/sound | ||
@@ -5,2 +7,17 @@ | ||
Try [the demo](https://stackblitz.com/edit/cycle-robot-drivers-sound-demo) at StackBlitz! | ||
Try [the demo](https://stackblitz.com/edit/cycle-robot-drivers-demos-sound) at StackBlitz! | ||
## API | ||
<!-- Start src/AudioPlayerAction.ts --> | ||
<!-- End src/AudioPlayerAction.ts --> | ||
<!-- Start src/audio_player.ts --> | ||
<!-- End src/audio_player.ts --> | ||
<!-- Start src/index.ts --> | ||
<!-- End src/index.ts --> | ||
@@ -71,7 +71,7 @@ import xs from 'xstream' | ||
status: toStatus(str), | ||
result: toStatus(str).status === 'PREEMPTED' ? null : 'x', | ||
result: null, | ||
})); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -119,7 +119,7 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); | ||
status: toStatus(str), | ||
result: toStatus(str).status === 'PREEMPTED' ? null : 'x', | ||
result: null, | ||
})); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -156,3 +156,3 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -198,7 +198,7 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); | ||
status: toStatus(str), | ||
result: toStatus(str).status === 'PREEMPTED' ? null : 'x', | ||
result: null, | ||
})); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -244,7 +244,7 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); | ||
status: toStatus(str), | ||
result: toStatus(str).status === 'PREEMPTED' ? null : 'x', | ||
result: null, | ||
})); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -298,3 +298,3 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); | ||
status: toStatus(str), | ||
result: toStatus(str).status === 'PREEMPTED' ? null : 'x', | ||
result: null, | ||
})); | ||
@@ -307,3 +307,3 @@ }); | ||
// Run test | ||
Time.assertEqual(audioPlayerAction.value, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.output, expectedValue$); | ||
Time.assertEqual(audioPlayerAction.status, expectedStatus$); | ||
@@ -310,0 +310,0 @@ Time.assertEqual(audioPlayerAction.result, expectedResult$); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45436
23