Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zjijz opened this issue Jan 23, 2023 · 0 comments
Open

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

zjijz opened this issue Jan 23, 2023 · 0 comments

Comments

@zjijz
Copy link

zjijz commented Jan 23, 2023

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

markwhen-parser % npm run prepublish           

> @markwhen/[email protected] 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 % 
@zjijz zjijz changed the title Missing big.mw for cache.test.ts Missing tests/big.mw for cache.test.ts Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant