diff --git a/integration-ts/examples/flow/nop-any-eos.ts b/integration-ts/examples/flow/nop-any-eos.ts index 8ac3269..660d344 100644 --- a/integration-ts/examples/flow/nop-any-eos.ts +++ b/integration-ts/examples/flow/nop-any-eos.ts @@ -11,7 +11,7 @@ const string = '-MONDAY-'; function combinator() { - return F.any().then(day()).then(F.nop()).then(F.any()).thenEos(); + return F.any().then(day()).then(F.nop()).then(F.any()).eos(); } let stream = Streams.ofString(string); diff --git a/integration-ts/package.json b/integration-ts/package.json index b4f79bc..ef82a86 100644 --- a/integration-ts/package.json +++ b/integration-ts/package.json @@ -11,7 +11,7 @@ "typescript": "3.2.4" }, "scripts": { - "test": "ts-node ./examples/index.ts", + "test": "rm -r examples/*.js && rm -r examples/*.map && ts-node ./examples/index.ts", "specific": "ts-node ./examples/markdown/test/markdown-tests.ts" }, "author": "",