Skip to content

Missing tests/big.mw for cache.test.ts #1

Description

@zjijz

This file is missing from the checked-in files on current main:

markwhen-parser % npm run prepublish           

> @markwhen/parser@0.4.9 prepublish
> tsc && jest

 PASS  tests/regex.test.ts
 PASS  tests/recurrence.test.ts
 PASS  tests/tokens.test.ts
 FAIL  tests/cache.test.ts
  ● caching › Using cache results in same 

    ENOENT: no such file or directory, open '/Users/patakygn/Desktop/projects/markwhen-parser/tests/big.mw'

      10 |
      11 | const bigTimeline = () =>
    > 12 |   readFileSync(path.resolve("./", "tests/big.mw"), "utf-8");
         |               ^
      13 |
      14 | describe("caching", () => {
      15 |   profiler.startProfiling(title, true);

      at bigTimeline (tests/cache.test.ts:12:15)
      at Object.<anonymous> (tests/cache.test.ts:31:17)

 PASS  tests/main.test.ts

Test Suites: 1 failed, 4 passed, 5 total
Tests:       1 failed, 12 skipped, 348 passed, 361 total
Snapshots:   0 total
Time:        5.09 s
Ran all test suites.
markwhen-parser % 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions