mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
Update packages
This commit is contained in:
parent
c032c9b993
commit
bd65e34c96
24 changed files with 10884 additions and 8895 deletions
|
|
@ -1,28 +1,28 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dart-json.json</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/dart-json.json</a>
|
||||
**6** tests were completed in **4s** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/main_test.dart](#r0s0)|1✅|3❌||74ms|
|
||||
|[test/second_test.dart](#r0s1)||1❌|1⚪|51ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">test/main_test.dart</a>
|
||||
|🔴 [test/main_test.dart](#r0s0)|1|3||74ms|
|
||||
|🔴 [test/second_test.dart](#r0s1)||1|1|51ms|
|
||||
### 🔴 <a id="user-content-r0s0" href="#r0s0">test/main_test.dart</a>
|
||||
```
|
||||
Test 1
|
||||
✅ Passing test
|
||||
🟢 Passing test
|
||||
Test 1 Test 1.1
|
||||
❌ Failing test
|
||||
🔴 Failing test
|
||||
Expected: <2>
|
||||
Actual: <1>
|
||||
|
||||
❌ Exception in target unit
|
||||
🔴 Exception in target unit
|
||||
Exception: Some error
|
||||
Test 2
|
||||
❌ Exception in test
|
||||
🔴 Exception in test
|
||||
Exception: Some error
|
||||
```
|
||||
### ❌ <a id="user-content-r0s1" href="#r0s1">test/second_test.dart</a>
|
||||
### 🔴 <a id="user-content-r0s1" href="#r0s1">test/second_test.dart</a>
|
||||
```
|
||||
❌ Timeout test
|
||||
🔴 Timeout test
|
||||
TimeoutException after 0:00:00.000001: Test timed out after 0 seconds.
|
||||
⚪ Skipped test
|
||||
```
|
||||
|
|
@ -1,31 +1,31 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a>
|
||||
**11** tests were completed in **1s** with **5** passed, **5** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5✅|5❌|1⚪|118ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
|
||||
|🔴 [DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5|5|1|118ms|
|
||||
### 🔴 <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
|
||||
```
|
||||
✅ Custom Name
|
||||
❌ Exception_In_TargetTest
|
||||
🟢 Custom Name
|
||||
🔴 Exception_In_TargetTest
|
||||
System.DivideByZeroException : Attempted to divide by zero.
|
||||
❌ Exception_In_Test
|
||||
🔴 Exception_In_Test
|
||||
System.Exception : Test
|
||||
❌ Failing_Test
|
||||
🔴 Failing_Test
|
||||
Assert.Equal() Failure
|
||||
Expected: 3
|
||||
Actual: 2
|
||||
✅ Is_Even_Number(i: 2)
|
||||
❌ Is_Even_Number(i: 3)
|
||||
🟢 Is_Even_Number(i: 2)
|
||||
🔴 Is_Even_Number(i: 3)
|
||||
Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
✅ Passing_Test
|
||||
✅ Should be even number(i: 2)
|
||||
❌ Should be even number(i: 3)
|
||||
🟢 Passing_Test
|
||||
🟢 Should be even number(i: 2)
|
||||
🔴 Should be even number(i: 3)
|
||||
Assert.True() Failure
|
||||
Expected: True
|
||||
Actual: False
|
||||
⚪ Skipped_Test
|
||||
✅ Timeout_Test
|
||||
🟢 Timeout_Test
|
||||
```
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,26 +1,26 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
|
||||
**6** tests were completed in **1s** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[__tests__\main.test.js](#r0s0)|1✅|3❌||486ms|
|
||||
|[__tests__\second.test.js](#r0s1)||1❌|1⚪|82ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a>
|
||||
|🔴 [__tests__\main.test.js](#r0s0)|1|3||486ms|
|
||||
|🔴 [__tests__\second.test.js](#r0s1)||1|1|82ms|
|
||||
### 🔴 <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a>
|
||||
```
|
||||
Test 1
|
||||
✅ Passing test
|
||||
🟢 Passing test
|
||||
Test 1 › Test 1.1
|
||||
❌ Failing test
|
||||
🔴 Failing test
|
||||
Error: expect(received).toBeTruthy()
|
||||
❌ Exception in target unit
|
||||
🔴 Exception in target unit
|
||||
Error: Some error
|
||||
Test 2
|
||||
❌ Exception in test
|
||||
🔴 Exception in test
|
||||
Error: Some error
|
||||
```
|
||||
### ❌ <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a>
|
||||
### 🔴 <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a>
|
||||
```
|
||||
❌ Timeout test
|
||||
🔴 Timeout test
|
||||
: Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
|
||||
⚪ Skipped test
|
||||
```
|
||||
|
|
@ -1,432 +1,432 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-test-results.xml</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-test-results.xml</a>
|
||||
**4239** tests were completed in **166s** with **4207** passed, **2** failed and **30** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|e2e/__tests__/asyncAndCallback.test.ts|1✅|||746ms|
|
||||
|e2e/__tests__/asyncRegenerator.test.ts|1✅|||4s|
|
||||
|e2e/__tests__/autoClearMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/autoResetMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/autoRestoreMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/babelPluginJestHoist.test.ts|1✅|||6s|
|
||||
|e2e/__tests__/badSourceMap.test.ts|1✅|||858ms|
|
||||
|e2e/__tests__/beforeAllFiltered.ts|1✅|||958ms|
|
||||
|e2e/__tests__/beforeEachQueue.ts|1✅||1⚪|55ms|
|
||||
|e2e/__tests__/callDoneTwice.test.ts|1✅|||882ms|
|
||||
|e2e/__tests__/chaiAssertionLibrary.ts|1✅|||2s|
|
||||
|e2e/__tests__/circularInequality.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/circusConcurrentEach.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/circusDeclarationErrors.test.ts|1✅|||869ms|
|
||||
|e2e/__tests__/clearCache.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/cliHandlesExactFilenames.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/compareDomNodes.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/config.test.ts|6✅|||4s|
|
||||
|e2e/__tests__/console.test.ts|7✅|||8s|
|
||||
|e2e/__tests__/consoleAfterTeardown.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/consoleLogOutputWhenRunInBand.test.ts|1✅|||793ms|
|
||||
|e2e/__tests__/coverageHandlebars.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/coverageRemapping.test.ts|1✅|||13s|
|
||||
|e2e/__tests__/coverageReport.test.ts|12✅|||22s|
|
||||
|e2e/__tests__/coverageThreshold.test.ts|5✅|||5s|
|
||||
|e2e/__tests__/coverageTransformInstrumented.test.ts|1✅|||5s|
|
||||
|e2e/__tests__/coverageWithoutTransform.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/createProcessObject.test.ts|1✅|||908ms|
|
||||
|e2e/__tests__/customInlineSnapshotMatchers.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/customMatcherStackTrace.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/customReporters.test.ts|9✅|||7s|
|
||||
|e2e/__tests__/customResolver.test.ts|1✅|||826ms|
|
||||
|e2e/__tests__/customTestSequencers.test.ts|3✅|||3s|
|
||||
|e2e/__tests__/debug.test.ts|1✅|||899ms|
|
||||
|e2e/__tests__/declarationErrors.test.ts|3✅|||2s|
|
||||
|e2e/__tests__/dependencyClash.test.ts|1✅|||833ms|
|
||||
|e2e/__tests__/detectOpenHandles.ts|8✅|||8s|
|
||||
|e2e/__tests__/domDiffing.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/doneInHooks.test.ts|1✅|||855ms|
|
||||
|e2e/__tests__/dynamicRequireDependencies.ts|1✅|||847ms|
|
||||
|e2e/__tests__/each.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/emptyDescribeWithHooks.test.ts|4✅|||3s|
|
||||
|e2e/__tests__/emptySuiteError.test.ts|1✅|||885ms|
|
||||
|e2e/__tests__/env.test.ts|6✅|||5s|
|
||||
|e2e/__tests__/environmentAfterTeardown.test.ts|1✅|||892ms|
|
||||
|e2e/__tests__/errorOnDeprecated.test.ts|1✅||24⚪|56ms|
|
||||
|e2e/__tests__/esmConfigFile.test.ts|3✅|||526ms|
|
||||
|e2e/__tests__/executeTestsOnceInMpr.ts|1✅|||976ms|
|
||||
|e2e/__tests__/existentRoots.test.ts|4✅|||627ms|
|
||||
|e2e/__tests__/expectAsyncMatcher.test.ts|2✅|||3s|
|
||||
|e2e/__tests__/expectInVm.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/extraGlobals.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/failureDetailsProperty.test.ts|1✅|||907ms|
|
||||
|e2e/__tests__/failures.test.ts|7✅|||10s|
|
||||
|e2e/__tests__/fakePromises.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/fatalWorkerError.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/filter.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/findRelatedFiles.test.ts|5✅|||6s|
|
||||
|e2e/__tests__/focusedTests.test.ts|1✅|||888ms|
|
||||
|e2e/__tests__/forceExit.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/generatorMock.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/global-mutation.test.ts|1✅|||40ms|
|
||||
|e2e/__tests__/global.test.ts|1✅|||31ms|
|
||||
|e2e/__tests__/globals.test.ts|10✅|||8s|
|
||||
|e2e/__tests__/globalSetup.test.ts|10✅|||14s|
|
||||
|e2e/__tests__/globalTeardown.test.ts|7✅|||12s|
|
||||
|e2e/__tests__/hasteMapMockChanged.test.ts|1✅|||379ms|
|
||||
|e2e/__tests__/hasteMapSha1.test.ts|1✅|||298ms|
|
||||
|e2e/__tests__/hasteMapSize.test.ts|2✅|||397ms|
|
||||
|e2e/__tests__/importedGlobals.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/injectGlobals.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/jasmineAsync.test.ts|15✅|||28s|
|
||||
|e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts|1✅||1⚪|72ms|
|
||||
|e2e/__tests__/jest.config.js.test.ts|3✅|||2s|
|
||||
|e2e/__tests__/jest.config.ts.test.ts|5✅|||14s|
|
||||
|[e2e/__tests__/jestChangedFiles.test.ts](#r0s75)|9✅|1❌||9s|
|
||||
|e2e/__tests__/jestEnvironmentJsdom.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/jestRequireActual.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/jestRequireMock.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/json.test.ts|2✅|||29ms|
|
||||
|e2e/__tests__/jsonReporter.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/lifecycles.ts|1✅|||861ms|
|
||||
|e2e/__tests__/listTests.test.ts|2✅|||945ms|
|
||||
|e2e/__tests__/locationInResults.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/logHeapUsage.test.ts|1✅|||884ms|
|
||||
|e2e/__tests__/mockNames.test.ts|8✅|||7s|
|
||||
|e2e/__tests__/modernFakeTimers.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/moduleNameMapper.test.ts|5✅|||5s|
|
||||
|e2e/__tests__/moduleParentNullInTest.ts|1✅|||886ms|
|
||||
|e2e/__tests__/multiProjectRunner.test.ts|14✅|||16s|
|
||||
|e2e/__tests__/nativeAsyncMock.test.ts|1✅|||55ms|
|
||||
|e2e/__tests__/nativeEsm.test.ts|2✅||1⚪|905ms|
|
||||
|e2e/__tests__/nativeEsmTypescript.test.ts|1✅|||956ms|
|
||||
|e2e/__tests__/nestedEventLoop.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/nestedTestDefinitions.test.ts|4✅|||5s|
|
||||
|e2e/__tests__/nodePath.test.ts|1✅|||866ms|
|
||||
|e2e/__tests__/noTestFound.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/noTestsFound.test.ts|5✅|||3s|
|
||||
|[e2e/__tests__/onlyChanged.test.ts](#r0s98)|8✅|1❌||22s|
|
||||
|e2e/__tests__/onlyFailuresNonWatch.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/overrideGlobals.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/pnp.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/presets.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/processExit.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/promiseReject.test.ts|1✅|||967ms|
|
||||
|e2e/__tests__/regexCharInPath.test.ts|1✅|||962ms|
|
||||
|e2e/__tests__/requireAfterTeardown.test.ts|1✅|||921ms|
|
||||
|e2e/__tests__/requireMain.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/requireMainAfterCreateRequire.test.ts|1✅|||966ms|
|
||||
|e2e/__tests__/requireMainIsolateModules.test.ts|1✅|||976ms|
|
||||
|e2e/__tests__/requireMainResetModules.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/requireV8Module.test.ts|1✅|||30ms|
|
||||
|e2e/__tests__/resetModules.test.ts|1✅|||926ms|
|
||||
|e2e/__tests__/resolve.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/resolveGetPaths.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/resolveNodeModule.test.ts|1✅|||943ms|
|
||||
|e2e/__tests__/resolveNoFileExtensions.test.ts|2✅|||1s|
|
||||
|e2e/__tests__/resolveWithPaths.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/runProgrammatically.test.ts|2✅|||575ms|
|
||||
|e2e/__tests__/runTestsByPath.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/runtimeInternalModuleRegistry.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/selectProjects.test.ts|18✅|||5s|
|
||||
|e2e/__tests__/setImmediate.test.ts|1✅|||904ms|
|
||||
|e2e/__tests__/setupFilesAfterEnvConfig.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/showConfig.test.ts|1✅|||195ms|
|
||||
|e2e/__tests__/skipBeforeAfterAll.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/snapshot-unknown.test.ts|1✅|||838ms|
|
||||
|e2e/__tests__/snapshot.test.ts|9✅|||14s|
|
||||
|e2e/__tests__/snapshotMockFs.test.ts|1✅|||883ms|
|
||||
|e2e/__tests__/snapshotResolver.test.ts|1✅|||823ms|
|
||||
|e2e/__tests__/snapshotSerializers.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/stackTrace.test.ts|7✅|||5s|
|
||||
|e2e/__tests__/stackTraceNoCaptureStackTrace.test.ts|1✅|||899ms|
|
||||
|e2e/__tests__/stackTraceSourceMaps.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/stackTraceSourceMapsWithCoverage.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/supportsDashedArgs.ts|2✅|||968ms|
|
||||
|e2e/__tests__/symbol.test.ts|1✅|||49ms|
|
||||
|e2e/__tests__/testEnvironment.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentAsync.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/testEnvironmentCircus.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testEnvironmentCircusAsync.test.ts|1✅|||2s|
|
||||
|e2e/__tests__/testFailureExitCode.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/testInRoot.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/testNamePattern.test.ts|1✅|||859ms|
|
||||
|e2e/__tests__/testNamePatternSkipped.test.ts|1✅|||991ms|
|
||||
|e2e/__tests__/testPathPatternReporterMessage.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/testResultsProcessor.test.ts|1✅|||910ms|
|
||||
|e2e/__tests__/testRetries.test.ts|4✅|||3s|
|
||||
|e2e/__tests__/testTodo.test.ts|5✅|||4s|
|
||||
|e2e/__tests__/timeouts.test.ts|4✅|||4s|
|
||||
|e2e/__tests__/timeoutsLegacy.test.ts|1✅||3⚪|71ms|
|
||||
|e2e/__tests__/timerResetMocks.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/timerUseRealTimers.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/toMatchInlineSnapshot.test.ts|12✅|||24s|
|
||||
|e2e/__tests__/toMatchInlineSnapshotWithRetries.test.ts|3✅|||5s|
|
||||
|e2e/__tests__/toMatchSnapshot.test.ts|9✅|||17s|
|
||||
|e2e/__tests__/toMatchSnapshotWithRetries.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts|3✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingInlineSnapshot.test.ts|4✅|||4s|
|
||||
|e2e/__tests__/toThrowErrorMatchingSnapshot.test.ts|5✅|||4s|
|
||||
|e2e/__tests__/transform.test.ts|16✅|||27s|
|
||||
|e2e/__tests__/transformLinkedModules.test.ts|1✅|||783ms|
|
||||
|e2e/__tests__/typescriptCoverage.test.ts|1✅|||3s|
|
||||
|e2e/__tests__/unexpectedToken.test.ts|3✅|||3s|
|
||||
|e2e/__tests__/useStderr.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/v8Coverage.test.ts|2✅|||2s|
|
||||
|e2e/__tests__/verbose.test.ts|1✅|||683ms|
|
||||
|e2e/__tests__/version.test.ts|1✅|||138ms|
|
||||
|e2e/__tests__/watchModeNoAccess.test.ts|1✅|||4s|
|
||||
|e2e/__tests__/watchModeOnlyFailed.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/watchModePatterns.test.ts|2✅|||4s|
|
||||
|e2e/__tests__/watchModeUpdateSnapshot.test.ts|1✅|||1s|
|
||||
|e2e/__tests__/workerForceExit.test.ts|2✅|||5s|
|
||||
|e2e/__tests__/wrongEnv.test.ts|5✅|||4s|
|
||||
|e2e/custom-test-sequencer/a.test.js|1✅|||29ms|
|
||||
|e2e/custom-test-sequencer/b.test.js|1✅|||21ms|
|
||||
|e2e/custom-test-sequencer/c.test.js|1✅|||42ms|
|
||||
|e2e/custom-test-sequencer/d.test.js|1✅|||21ms|
|
||||
|e2e/custom-test-sequencer/e.test.js|1✅|||27ms|
|
||||
|e2e/test-in-root/spec.js|1✅|||19ms|
|
||||
|e2e/test-in-root/test.js|1✅|||37ms|
|
||||
|e2e/timer-reset-mocks/after-reset-all-mocks/timerAndMock.test.js|2✅|||30ms|
|
||||
|e2e/timer-reset-mocks/with-reset-mocks/timerWithMock.test.js|1✅|||34ms|
|
||||
|e2e/v8-coverage/empty-sourcemap/test.ts|1✅|||31ms|
|
||||
|examples/angular/app.component.spec.ts|3✅|||654ms|
|
||||
|examples/angular/shared/data.service.spec.ts|2✅|||431ms|
|
||||
|examples/angular/shared/sub.service.spec.ts|1✅|||109ms|
|
||||
|examples/async/__tests__/user.test.js|8✅|||96ms|
|
||||
|examples/automatic-mocks/__tests__/automock.test.js|2✅|||74ms|
|
||||
|examples/automatic-mocks/__tests__/createMockFromModule.test.js|2✅|||115ms|
|
||||
|examples/automatic-mocks/__tests__/disableAutomocking.test.js|1✅|||24ms|
|
||||
|examples/enzyme/__tests__/CheckboxWithLabel-test.js|1✅|||434ms|
|
||||
|examples/getting-started/sum.test.js|1✅|||78ms|
|
||||
|examples/jquery/__tests__/display_user.test.js|1✅|||196ms|
|
||||
|examples/jquery/__tests__/fetch_current_user.test.js|2✅|||196ms|
|
||||
|examples/manual-mocks/__tests__/file_summarizer.test.js|1✅|||87ms|
|
||||
|examples/manual-mocks/__tests__/lodashMocking.test.js|1✅|||109ms|
|
||||
|examples/manual-mocks/__tests__/user.test.js|1✅|||41ms|
|
||||
|examples/manual-mocks/__tests__/userMocked.test.js|1✅|||105ms|
|
||||
|examples/module-mock/__tests__/full_mock.js|1✅|||60ms|
|
||||
|examples/module-mock/__tests__/mock_per_test.js|2✅|||116ms|
|
||||
|examples/module-mock/__tests__/partial_mock.js|1✅|||215ms|
|
||||
|examples/mongodb/__test__/db.test.js|1✅|||236ms|
|
||||
|examples/react-native/__tests__/intro.test.js|4✅|||9s|
|
||||
|examples/react-testing-library/__tests__/CheckboxWithLabel-test.js|1✅|||469ms|
|
||||
|examples/react/__tests__/CheckboxWithLabel-test.js|1✅|||256ms|
|
||||
|examples/snapshot/__tests__/clock.react.test.js|1✅|||62ms|
|
||||
|examples/snapshot/__tests__/link.react.test.js|4✅|||181ms|
|
||||
|examples/timer/__tests__/infinite_timer_game.test.js|1✅|||94ms|
|
||||
|examples/timer/__tests__/timer_game.test.js|3✅|||74ms|
|
||||
|examples/typescript/__tests__/calc.test.ts|6✅|||276ms|
|
||||
|examples/typescript/__tests__/CheckboxWithLabel-test.tsx|1✅|||227ms|
|
||||
|examples/typescript/__tests__/sub-test.ts|1✅|||43ms|
|
||||
|examples/typescript/__tests__/sum-test.ts|2✅|||69ms|
|
||||
|examples/typescript/__tests__/sum.test.js|2✅|||100ms|
|
||||
|packages/babel-jest/src/__tests__/index.ts|6✅|||371ms|
|
||||
|packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.test.ts|4✅|||347ms|
|
||||
|packages/diff-sequences/src/__tests__/index.property.test.ts|7✅|||357ms|
|
||||
|packages/diff-sequences/src/__tests__/index.test.ts|48✅|||195ms|
|
||||
|packages/expect/src/__tests__/assertionCounts.test.ts|6✅|||60ms|
|
||||
|packages/expect/src/__tests__/asymmetricMatchers.test.ts|38✅|||207ms|
|
||||
|packages/expect/src/__tests__/extend.test.ts|10✅|||99ms|
|
||||
|packages/expect/src/__tests__/isError.test.ts|4✅|||43ms|
|
||||
|packages/expect/src/__tests__/matchers-toContain.property.test.ts|2✅|||236ms|
|
||||
|packages/expect/src/__tests__/matchers-toContainEqual.property.test.ts|2✅|||287ms|
|
||||
|packages/expect/src/__tests__/matchers-toEqual.property.test.ts|2✅|||1s|
|
||||
|packages/expect/src/__tests__/matchers-toStrictEqual.property.test.ts|3✅|||394ms|
|
||||
|packages/expect/src/__tests__/matchers.test.js|592✅|||862ms|
|
||||
|packages/expect/src/__tests__/spyMatchers.test.ts|248✅|||395ms|
|
||||
|packages/expect/src/__tests__/stacktrace.test.ts|3✅|||69ms|
|
||||
|packages/expect/src/__tests__/symbolInObjects.test.ts|3✅|||33ms|
|
||||
|packages/expect/src/__tests__/toEqual-dom.test.ts|12✅|||99ms|
|
||||
|packages/expect/src/__tests__/toThrowMatchers.test.ts|98✅|||257ms|
|
||||
|packages/expect/src/__tests__/utils.test.ts|41✅|||147ms|
|
||||
|packages/jest-circus/src/__tests__/afterAll.test.ts|6✅|||6s|
|
||||
|packages/jest-circus/src/__tests__/baseTest.test.ts|2✅|||3s|
|
||||
|packages/jest-circus/src/__tests__/circusItTestError.test.ts|8✅|||300ms|
|
||||
|packages/jest-circus/src/__tests__/circusItTodoTestError.test.ts|3✅|||81ms|
|
||||
|packages/jest-circus/src/__tests__/hooks.test.ts|3✅|||4s|
|
||||
|packages/jest-circus/src/__tests__/hooksError.test.ts|32✅|||127ms|
|
||||
|packages/jest-cli/src/__tests__/cli/args.test.ts|17✅|||345ms|
|
||||
|packages/jest-cli/src/init/__tests__/init.test.js|24✅|||119ms|
|
||||
|packages/jest-cli/src/init/__tests__/modifyPackageJson.test.ts|4✅|||30ms|
|
||||
|packages/jest-config/src/__tests__/Defaults.test.ts|1✅|||672ms|
|
||||
|packages/jest-config/src/__tests__/getMaxWorkers.test.ts|7✅|||67ms|
|
||||
|packages/jest-config/src/__tests__/normalize.test.js|118✅|||798ms|
|
||||
|packages/jest-config/src/__tests__/readConfig.test.ts|1✅|||76ms|
|
||||
|packages/jest-config/src/__tests__/readConfigs.test.ts|3✅|||135ms|
|
||||
|packages/jest-config/src/__tests__/resolveConfigPath.test.ts|10✅|||183ms|
|
||||
|packages/jest-config/src/__tests__/setFromArgv.test.ts|4✅|||53ms|
|
||||
|packages/jest-config/src/__tests__/validatePattern.test.ts|4✅|||52ms|
|
||||
|packages/jest-console/src/__tests__/bufferedConsole.test.ts|20✅|||171ms|
|
||||
|packages/jest-console/src/__tests__/CustomConsole.test.ts|23✅|||115ms|
|
||||
|packages/jest-console/src/__tests__/getConsoleOutput.test.ts|12✅|||56ms|
|
||||
|packages/jest-core/src/__tests__/FailedTestsCache.test.js|1✅|||25ms|
|
||||
|packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.js|5✅|||61ms|
|
||||
|packages/jest-core/src/__tests__/globals.test.ts|1✅|||22ms|
|
||||
|packages/jest-core/src/__tests__/runJest.test.js|2✅|||261ms|
|
||||
|packages/jest-core/src/__tests__/SearchSource.test.ts|27✅|||3s|
|
||||
|packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js|13✅|||89ms|
|
||||
|packages/jest-core/src/__tests__/TestScheduler.test.js|8✅|||520ms|
|
||||
|packages/jest-core/src/__tests__/testSchedulerHelper.test.js|12✅|||48ms|
|
||||
|packages/jest-core/src/__tests__/watch.test.js|80✅|||7s|
|
||||
|packages/jest-core/src/__tests__/watchFileChanges.test.ts|1✅|||2s|
|
||||
|packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js|2✅|||165ms|
|
||||
|packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js|1✅|||246ms|
|
||||
|packages/jest-core/src/lib/__tests__/isValidPath.test.ts|3✅|||166ms|
|
||||
|packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts|3✅|||48ms|
|
||||
|packages/jest-create-cache-key-function/src/__tests__/index.test.ts|1✅|||75ms|
|
||||
|packages/jest-diff/src/__tests__/diff.test.ts|107✅|||625ms|
|
||||
|packages/jest-diff/src/__tests__/diffStringsRaw.test.ts|2✅|||55ms|
|
||||
|packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts|24✅|||72ms|
|
||||
|packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts|6✅|||44ms|
|
||||
|packages/jest-docblock/src/__tests__/index.test.ts|36✅|||177ms|
|
||||
|packages/jest-each/src/__tests__/array.test.ts|159✅|||192ms|
|
||||
|packages/jest-each/src/__tests__/index.test.ts|10✅|||44ms|
|
||||
|packages/jest-each/src/__tests__/template.test.ts|242✅|||483ms|
|
||||
|packages/jest-environment-jsdom/src/__tests__/jsdom_environment.test.ts|2✅|||783ms|
|
||||
|packages/jest-environment-node/src/__tests__/node_environment.test.ts|6✅|||184ms|
|
||||
|packages/jest-fake-timers/src/__tests__/legacyFakeTimers.test.ts|50✅|||302ms|
|
||||
|packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts|40✅|||317ms|
|
||||
|packages/jest-get-type/src/__tests__/getType.test.ts|14✅|||45ms|
|
||||
|packages/jest-get-type/src/__tests__/isPrimitive.test.ts|18✅|||36ms|
|
||||
|packages/jest-globals/src/__tests__/index.ts|1✅|||533ms|
|
||||
|packages/jest-haste-map/src/__tests__/get_mock_name.test.js|1✅|||22ms|
|
||||
|packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts|1✅|||337ms|
|
||||
|packages/jest-haste-map/src/__tests__/index.test.js|44✅|||1s|
|
||||
|packages/jest-haste-map/src/__tests__/worker.test.js|7✅|||100ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/node.test.js|10✅|||170ms|
|
||||
|packages/jest-haste-map/src/crawlers/__tests__/watchman.test.js|8✅|||153ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js|15✅|||56ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/fast_path.test.js|5✅|||29ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/getPlatformExtension.test.js|1✅|||35ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/isRegExpSupported.test.js|2✅|||31ms|
|
||||
|packages/jest-haste-map/src/lib/__tests__/normalizePathSep.test.js|2✅|||35ms|
|
||||
|packages/jest-jasmine2/src/__tests__/concurrent.test.ts|3✅|||24ms|
|
||||
|packages/jest-jasmine2/src/__tests__/expectationResultFactory.test.ts|7✅|||70ms|
|
||||
|packages/jest-jasmine2/src/__tests__/hooksError.test.ts|32✅|||51ms|
|
||||
|packages/jest-jasmine2/src/__tests__/iterators.test.ts|4✅|||43ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itTestError.test.ts|6✅|||32ms|
|
||||
|packages/jest-jasmine2/src/__tests__/itToTestAlias.test.ts|1✅|||23ms|
|
||||
|packages/jest-jasmine2/src/__tests__/pTimeout.test.ts|3✅|||44ms|
|
||||
|packages/jest-jasmine2/src/__tests__/queueRunner.test.ts|6✅|||93ms|
|
||||
|packages/jest-jasmine2/src/__tests__/reporter.test.ts|1✅|||107ms|
|
||||
|packages/jest-jasmine2/src/__tests__/Suite.test.ts|1✅|||84ms|
|
||||
|packages/jest-jasmine2/src/__tests__/todoError.test.ts|3✅|||27ms|
|
||||
|packages/jest-leak-detector/src/__tests__/index.test.ts|6✅|||986ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceable.test.ts|11✅|||49ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceableDom.test.ts|2✅|||48ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/index.test.ts|48✅|||391ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts|21✅|||114ms|
|
||||
|packages/jest-matcher-utils/src/__tests__/Replaceable.test.ts|17✅|||111ms|
|
||||
|packages/jest-message-util/src/__tests__/messages.test.ts|11✅|||205ms|
|
||||
|packages/jest-mock/src/__tests__/index.test.ts|84✅|||509ms|
|
||||
|packages/jest-regex-util/src/__tests__/index.test.ts|8✅|||56ms|
|
||||
|packages/jest-repl/src/__tests__/jest_repl.test.js|1✅|||1s|
|
||||
|packages/jest-repl/src/__tests__/runtime_cli.test.js|4✅|||4s|
|
||||
|packages/jest-reporters/src/__tests__/CoverageReporter.test.js|12✅|||397ms|
|
||||
|packages/jest-reporters/src/__tests__/CoverageWorker.test.js|2✅|||199ms|
|
||||
|packages/jest-reporters/src/__tests__/DefaultReporter.test.js|2✅|||148ms|
|
||||
|packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js|3✅|||1s|
|
||||
|packages/jest-reporters/src/__tests__/getResultHeader.test.js|4✅|||30ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotStatus.test.js|3✅|||28ms|
|
||||
|packages/jest-reporters/src/__tests__/getSnapshotSummary.test.js|4✅|||49ms|
|
||||
|packages/jest-reporters/src/__tests__/getWatermarks.test.ts|2✅|||37ms|
|
||||
|packages/jest-reporters/src/__tests__/NotifyReporter.test.ts|18✅|||166ms|
|
||||
|packages/jest-reporters/src/__tests__/SummaryReporter.test.js|4✅|||366ms|
|
||||
|packages/jest-reporters/src/__tests__/utils.test.ts|10✅|||85ms|
|
||||
|packages/jest-reporters/src/__tests__/VerboseReporter.test.js|11✅|||425ms|
|
||||
|packages/jest-resolve-dependencies/src/__tests__/dependency_resolver.test.ts|11✅|||666ms|
|
||||
|packages/jest-resolve/src/__tests__/isBuiltinModule.test.ts|4✅|||36ms|
|
||||
|packages/jest-resolve/src/__tests__/resolve.test.ts|16✅|||1s|
|
||||
|packages/jest-runner/src/__tests__/testRunner.test.ts|2✅|||905ms|
|
||||
|packages/jest-runtime/src/__tests__/instrumentation.test.ts|1✅|||275ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_create_mock_from_module.test.js|3✅|||606ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_environment.test.js|2✅|||497ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_internal_module.test.js|4✅|||727ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_fn.js|4✅|||479ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_jest_spy_on.test.js|2✅|||521ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_mock.test.js|4✅|||743ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_module_directories.test.js|4✅|||525ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_node_path.test.js|4✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_actual.test.js|2✅|||478ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_cache.test.js|2✅|||454ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_mock.test.js|13✅|||962ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_no_ext.test.js|1✅|||261ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock_transitive_deps.test.js|6✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module_or_mock.test.js|17✅|||1s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_module.test.js|27✅|||2s|
|
||||
|packages/jest-runtime/src/__tests__/runtime_require_resolve.test.ts|5✅|||707ms|
|
||||
|packages/jest-runtime/src/__tests__/runtime_wrap.js|2✅|||263ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-sourceMaps.test.js|1✅|||584ms|
|
||||
|packages/jest-runtime/src/__tests__/Runtime-statics.test.js|2✅|||162ms|
|
||||
|packages/jest-serializer/src/__tests__/index.test.ts|17✅|||158ms|
|
||||
|packages/jest-snapshot/src/__tests__/dedentLines.test.ts|17✅|||94ms|
|
||||
|packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts|22✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/matcher.test.ts|1✅|||131ms|
|
||||
|packages/jest-snapshot/src/__tests__/mockSerializer.test.ts|10✅|||45ms|
|
||||
|packages/jest-snapshot/src/__tests__/printSnapshot.test.ts|71✅|||1s|
|
||||
|packages/jest-snapshot/src/__tests__/SnapshotResolver.test.ts|10✅|||98ms|
|
||||
|packages/jest-snapshot/src/__tests__/throwMatcher.test.ts|3✅|||481ms|
|
||||
|packages/jest-snapshot/src/__tests__/utils.test.ts|26✅|||214ms|
|
||||
|packages/jest-source-map/src/__tests__/getCallsite.test.ts|3✅|||86ms|
|
||||
|packages/jest-test-result/src/__tests__/formatTestResults.test.ts|1✅|||53ms|
|
||||
|packages/jest-test-sequencer/src/__tests__/test_sequencer.test.js|8✅|||251ms|
|
||||
|packages/jest-transform/src/__tests__/ScriptTransformer.test.ts|22✅|||2s|
|
||||
|packages/jest-transform/src/__tests__/shouldInstrument.test.ts|25✅|||155ms|
|
||||
|packages/jest-util/src/__tests__/createProcessObject.test.ts|4✅|||81ms|
|
||||
|packages/jest-util/src/__tests__/deepCyclicCopy.test.ts|12✅|||86ms|
|
||||
|packages/jest-util/src/__tests__/errorWithStack.test.ts|1✅|||41ms|
|
||||
|packages/jest-util/src/__tests__/formatTime.test.ts|11✅|||82ms|
|
||||
|packages/jest-util/src/__tests__/globsToMatcher.test.ts|4✅|||56ms|
|
||||
|packages/jest-util/src/__tests__/installCommonGlobals.test.ts|2✅|||68ms|
|
||||
|packages/jest-util/src/__tests__/isInteractive.test.ts|2✅|||35ms|
|
||||
|packages/jest-util/src/__tests__/isPromise.test.ts|10✅|||30ms|
|
||||
|packages/jest-validate/src/__tests__/validate.test.ts|23✅|||283ms|
|
||||
|packages/jest-validate/src/__tests__/validateCLIOptions.test.js|6✅|||83ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/formatTestNameByPattern.test.ts|11✅|||129ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/prompt.test.ts|3✅|||91ms|
|
||||
|packages/jest-watcher/src/lib/__tests__/scroll.test.ts|5✅|||57ms|
|
||||
|packages/jest-worker/src/__tests__/Farm.test.js|10✅|||158ms|
|
||||
|packages/jest-worker/src/__tests__/FifoQueue.test.js|3✅|||48ms|
|
||||
|packages/jest-worker/src/__tests__/index.test.js|8✅|||230ms|
|
||||
|packages/jest-worker/src/__tests__/PriorityQueue.test.js|5✅|||63ms|
|
||||
|packages/jest-worker/src/__tests__/process-integration.test.js|5✅|||62ms|
|
||||
|packages/jest-worker/src/__tests__/thread-integration.test.js|6✅|||114ms|
|
||||
|packages/jest-worker/src/__tests__/WorkerPool.test.js|3✅|||51ms|
|
||||
|packages/jest-worker/src/base/__tests__/BaseWorkerPool.test.js|11✅|||653ms|
|
||||
|packages/jest-worker/src/workers/__tests__/ChildProcessWorker.test.js|17✅|||184ms|
|
||||
|packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js|15✅|||258ms|
|
||||
|packages/jest-worker/src/workers/__tests__/processChild.test.js|10✅|||135ms|
|
||||
|packages/jest-worker/src/workers/__tests__/threadChild.test.js|10✅|||120ms|
|
||||
|packages/pretty-format/src/__tests__/AsymmetricMatcher.test.ts|38✅|||137ms|
|
||||
|packages/pretty-format/src/__tests__/ConvertAnsi.test.ts|6✅|||43ms|
|
||||
|packages/pretty-format/src/__tests__/DOMCollection.test.ts|10✅|||64ms|
|
||||
|packages/pretty-format/src/__tests__/DOMElement.test.ts|28✅|||148ms|
|
||||
|packages/pretty-format/src/__tests__/Immutable.test.ts|111✅|||443ms|
|
||||
|packages/pretty-format/src/__tests__/prettyFormat.test.ts|86✅|||219ms|
|
||||
|packages/pretty-format/src/__tests__/react.test.tsx|55✅|||325ms|
|
||||
|packages/pretty-format/src/__tests__/ReactElement.test.ts|3✅|||64ms|
|
||||
### ❌ <a id="user-content-r0s75" href="#r0s75">e2e/__tests__/jestChangedFiles.test.ts</a>
|
||||
|🟢 e2e/__tests__/asyncAndCallback.test.ts|1|||746ms|
|
||||
|🟢 e2e/__tests__/asyncRegenerator.test.ts|1|||4s|
|
||||
|🟢 e2e/__tests__/autoClearMocks.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/autoResetMocks.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/autoRestoreMocks.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/babelPluginJestHoist.test.ts|1|||6s|
|
||||
|🟢 e2e/__tests__/badSourceMap.test.ts|1|||858ms|
|
||||
|🟢 e2e/__tests__/beforeAllFiltered.ts|1|||958ms|
|
||||
|🟢 e2e/__tests__/beforeEachQueue.ts|1||1|55ms|
|
||||
|🟢 e2e/__tests__/callDoneTwice.test.ts|1|||882ms|
|
||||
|🟢 e2e/__tests__/chaiAssertionLibrary.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/circularInequality.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/circusConcurrentEach.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/circusDeclarationErrors.test.ts|1|||869ms|
|
||||
|🟢 e2e/__tests__/clearCache.test.ts|2|||1s|
|
||||
|🟢 e2e/__tests__/cliHandlesExactFilenames.test.ts|2|||1s|
|
||||
|🟢 e2e/__tests__/compareDomNodes.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/config.test.ts|6|||4s|
|
||||
|🟢 e2e/__tests__/console.test.ts|7|||8s|
|
||||
|🟢 e2e/__tests__/consoleAfterTeardown.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/consoleLogOutputWhenRunInBand.test.ts|1|||793ms|
|
||||
|🟢 e2e/__tests__/coverageHandlebars.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/coverageRemapping.test.ts|1|||13s|
|
||||
|🟢 e2e/__tests__/coverageReport.test.ts|12|||22s|
|
||||
|🟢 e2e/__tests__/coverageThreshold.test.ts|5|||5s|
|
||||
|🟢 e2e/__tests__/coverageTransformInstrumented.test.ts|1|||5s|
|
||||
|🟢 e2e/__tests__/coverageWithoutTransform.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/createProcessObject.test.ts|1|||908ms|
|
||||
|🟢 e2e/__tests__/customInlineSnapshotMatchers.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/customMatcherStackTrace.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/customReporters.test.ts|9|||7s|
|
||||
|🟢 e2e/__tests__/customResolver.test.ts|1|||826ms|
|
||||
|🟢 e2e/__tests__/customTestSequencers.test.ts|3|||3s|
|
||||
|🟢 e2e/__tests__/debug.test.ts|1|||899ms|
|
||||
|🟢 e2e/__tests__/declarationErrors.test.ts|3|||2s|
|
||||
|🟢 e2e/__tests__/dependencyClash.test.ts|1|||833ms|
|
||||
|🟢 e2e/__tests__/detectOpenHandles.ts|8|||8s|
|
||||
|🟢 e2e/__tests__/domDiffing.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/doneInHooks.test.ts|1|||855ms|
|
||||
|🟢 e2e/__tests__/dynamicRequireDependencies.ts|1|||847ms|
|
||||
|🟢 e2e/__tests__/each.test.ts|7|||5s|
|
||||
|🟢 e2e/__tests__/emptyDescribeWithHooks.test.ts|4|||3s|
|
||||
|🟢 e2e/__tests__/emptySuiteError.test.ts|1|||885ms|
|
||||
|🟢 e2e/__tests__/env.test.ts|6|||5s|
|
||||
|🟢 e2e/__tests__/environmentAfterTeardown.test.ts|1|||892ms|
|
||||
|🟢 e2e/__tests__/errorOnDeprecated.test.ts|1||24|56ms|
|
||||
|🟢 e2e/__tests__/esmConfigFile.test.ts|3|||526ms|
|
||||
|🟢 e2e/__tests__/executeTestsOnceInMpr.ts|1|||976ms|
|
||||
|🟢 e2e/__tests__/existentRoots.test.ts|4|||627ms|
|
||||
|🟢 e2e/__tests__/expectAsyncMatcher.test.ts|2|||3s|
|
||||
|🟢 e2e/__tests__/expectInVm.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/extraGlobals.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/failureDetailsProperty.test.ts|1|||907ms|
|
||||
|🟢 e2e/__tests__/failures.test.ts|7|||10s|
|
||||
|🟢 e2e/__tests__/fakePromises.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/fatalWorkerError.test.ts|1|||3s|
|
||||
|🟢 e2e/__tests__/filter.test.ts|7|||5s|
|
||||
|🟢 e2e/__tests__/findRelatedFiles.test.ts|5|||6s|
|
||||
|🟢 e2e/__tests__/focusedTests.test.ts|1|||888ms|
|
||||
|🟢 e2e/__tests__/forceExit.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/generatorMock.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/global-mutation.test.ts|1|||40ms|
|
||||
|🟢 e2e/__tests__/global.test.ts|1|||31ms|
|
||||
|🟢 e2e/__tests__/globals.test.ts|10|||8s|
|
||||
|🟢 e2e/__tests__/globalSetup.test.ts|10|||14s|
|
||||
|🟢 e2e/__tests__/globalTeardown.test.ts|7|||12s|
|
||||
|🟢 e2e/__tests__/hasteMapMockChanged.test.ts|1|||379ms|
|
||||
|🟢 e2e/__tests__/hasteMapSha1.test.ts|1|||298ms|
|
||||
|🟢 e2e/__tests__/hasteMapSize.test.ts|2|||397ms|
|
||||
|🟢 e2e/__tests__/importedGlobals.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/injectGlobals.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/jasmineAsync.test.ts|15|||28s|
|
||||
|🟢 e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts|1||1|72ms|
|
||||
|🟢 e2e/__tests__/jest.config.js.test.ts|3|||2s|
|
||||
|🟢 e2e/__tests__/jest.config.ts.test.ts|5|||14s|
|
||||
|🔴 [e2e/__tests__/jestChangedFiles.test.ts](#r0s75)|9|1||9s|
|
||||
|🟢 e2e/__tests__/jestEnvironmentJsdom.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/jestRequireActual.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/jestRequireMock.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/json.test.ts|2|||29ms|
|
||||
|🟢 e2e/__tests__/jsonReporter.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/lifecycles.ts|1|||861ms|
|
||||
|🟢 e2e/__tests__/listTests.test.ts|2|||945ms|
|
||||
|🟢 e2e/__tests__/locationInResults.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/logHeapUsage.test.ts|1|||884ms|
|
||||
|🟢 e2e/__tests__/mockNames.test.ts|8|||7s|
|
||||
|🟢 e2e/__tests__/modernFakeTimers.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/moduleNameMapper.test.ts|5|||5s|
|
||||
|🟢 e2e/__tests__/moduleParentNullInTest.ts|1|||886ms|
|
||||
|🟢 e2e/__tests__/multiProjectRunner.test.ts|14|||16s|
|
||||
|🟢 e2e/__tests__/nativeAsyncMock.test.ts|1|||55ms|
|
||||
|🟢 e2e/__tests__/nativeEsm.test.ts|2||1|905ms|
|
||||
|🟢 e2e/__tests__/nativeEsmTypescript.test.ts|1|||956ms|
|
||||
|🟢 e2e/__tests__/nestedEventLoop.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/nestedTestDefinitions.test.ts|4|||5s|
|
||||
|🟢 e2e/__tests__/nodePath.test.ts|1|||866ms|
|
||||
|🟢 e2e/__tests__/noTestFound.test.ts|2|||1s|
|
||||
|🟢 e2e/__tests__/noTestsFound.test.ts|5|||3s|
|
||||
|🔴 [e2e/__tests__/onlyChanged.test.ts](#r0s98)|8|1||22s|
|
||||
|🟢 e2e/__tests__/onlyFailuresNonWatch.test.ts|1|||3s|
|
||||
|🟢 e2e/__tests__/overrideGlobals.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/pnp.test.ts|1|||3s|
|
||||
|🟢 e2e/__tests__/presets.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/processExit.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/promiseReject.test.ts|1|||967ms|
|
||||
|🟢 e2e/__tests__/regexCharInPath.test.ts|1|||962ms|
|
||||
|🟢 e2e/__tests__/requireAfterTeardown.test.ts|1|||921ms|
|
||||
|🟢 e2e/__tests__/requireMain.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/requireMainAfterCreateRequire.test.ts|1|||966ms|
|
||||
|🟢 e2e/__tests__/requireMainIsolateModules.test.ts|1|||976ms|
|
||||
|🟢 e2e/__tests__/requireMainResetModules.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/requireV8Module.test.ts|1|||30ms|
|
||||
|🟢 e2e/__tests__/resetModules.test.ts|1|||926ms|
|
||||
|🟢 e2e/__tests__/resolve.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/resolveGetPaths.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/resolveNodeModule.test.ts|1|||943ms|
|
||||
|🟢 e2e/__tests__/resolveNoFileExtensions.test.ts|2|||1s|
|
||||
|🟢 e2e/__tests__/resolveWithPaths.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/runProgrammatically.test.ts|2|||575ms|
|
||||
|🟢 e2e/__tests__/runTestsByPath.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/runtimeInternalModuleRegistry.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/selectProjects.test.ts|18|||5s|
|
||||
|🟢 e2e/__tests__/setImmediate.test.ts|1|||904ms|
|
||||
|🟢 e2e/__tests__/setupFilesAfterEnvConfig.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/showConfig.test.ts|1|||195ms|
|
||||
|🟢 e2e/__tests__/skipBeforeAfterAll.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/snapshot-unknown.test.ts|1|||838ms|
|
||||
|🟢 e2e/__tests__/snapshot.test.ts|9|||14s|
|
||||
|🟢 e2e/__tests__/snapshotMockFs.test.ts|1|||883ms|
|
||||
|🟢 e2e/__tests__/snapshotResolver.test.ts|1|||823ms|
|
||||
|🟢 e2e/__tests__/snapshotSerializers.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/stackTrace.test.ts|7|||5s|
|
||||
|🟢 e2e/__tests__/stackTraceNoCaptureStackTrace.test.ts|1|||899ms|
|
||||
|🟢 e2e/__tests__/stackTraceSourceMaps.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/stackTraceSourceMapsWithCoverage.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/supportsDashedArgs.ts|2|||968ms|
|
||||
|🟢 e2e/__tests__/symbol.test.ts|1|||49ms|
|
||||
|🟢 e2e/__tests__/testEnvironment.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/testEnvironmentAsync.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/testEnvironmentCircus.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/testEnvironmentCircusAsync.test.ts|1|||2s|
|
||||
|🟢 e2e/__tests__/testFailureExitCode.test.ts|2|||4s|
|
||||
|🟢 e2e/__tests__/testInRoot.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/testNamePattern.test.ts|1|||859ms|
|
||||
|🟢 e2e/__tests__/testNamePatternSkipped.test.ts|1|||991ms|
|
||||
|🟢 e2e/__tests__/testPathPatternReporterMessage.test.ts|1|||3s|
|
||||
|🟢 e2e/__tests__/testResultsProcessor.test.ts|1|||910ms|
|
||||
|🟢 e2e/__tests__/testRetries.test.ts|4|||3s|
|
||||
|🟢 e2e/__tests__/testTodo.test.ts|5|||4s|
|
||||
|🟢 e2e/__tests__/timeouts.test.ts|4|||4s|
|
||||
|🟢 e2e/__tests__/timeoutsLegacy.test.ts|1||3|71ms|
|
||||
|🟢 e2e/__tests__/timerResetMocks.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/timerUseRealTimers.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/toMatchInlineSnapshot.test.ts|12|||24s|
|
||||
|🟢 e2e/__tests__/toMatchInlineSnapshotWithRetries.test.ts|3|||5s|
|
||||
|🟢 e2e/__tests__/toMatchSnapshot.test.ts|9|||17s|
|
||||
|🟢 e2e/__tests__/toMatchSnapshotWithRetries.test.ts|2|||4s|
|
||||
|🟢 e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts|3|||4s|
|
||||
|🟢 e2e/__tests__/toThrowErrorMatchingInlineSnapshot.test.ts|4|||4s|
|
||||
|🟢 e2e/__tests__/toThrowErrorMatchingSnapshot.test.ts|5|||4s|
|
||||
|🟢 e2e/__tests__/transform.test.ts|16|||27s|
|
||||
|🟢 e2e/__tests__/transformLinkedModules.test.ts|1|||783ms|
|
||||
|🟢 e2e/__tests__/typescriptCoverage.test.ts|1|||3s|
|
||||
|🟢 e2e/__tests__/unexpectedToken.test.ts|3|||3s|
|
||||
|🟢 e2e/__tests__/useStderr.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/v8Coverage.test.ts|2|||2s|
|
||||
|🟢 e2e/__tests__/verbose.test.ts|1|||683ms|
|
||||
|🟢 e2e/__tests__/version.test.ts|1|||138ms|
|
||||
|🟢 e2e/__tests__/watchModeNoAccess.test.ts|1|||4s|
|
||||
|🟢 e2e/__tests__/watchModeOnlyFailed.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/watchModePatterns.test.ts|2|||4s|
|
||||
|🟢 e2e/__tests__/watchModeUpdateSnapshot.test.ts|1|||1s|
|
||||
|🟢 e2e/__tests__/workerForceExit.test.ts|2|||5s|
|
||||
|🟢 e2e/__tests__/wrongEnv.test.ts|5|||4s|
|
||||
|🟢 e2e/custom-test-sequencer/a.test.js|1|||29ms|
|
||||
|🟢 e2e/custom-test-sequencer/b.test.js|1|||21ms|
|
||||
|🟢 e2e/custom-test-sequencer/c.test.js|1|||42ms|
|
||||
|🟢 e2e/custom-test-sequencer/d.test.js|1|||21ms|
|
||||
|🟢 e2e/custom-test-sequencer/e.test.js|1|||27ms|
|
||||
|🟢 e2e/test-in-root/spec.js|1|||19ms|
|
||||
|🟢 e2e/test-in-root/test.js|1|||37ms|
|
||||
|🟢 e2e/timer-reset-mocks/after-reset-all-mocks/timerAndMock.test.js|2|||30ms|
|
||||
|🟢 e2e/timer-reset-mocks/with-reset-mocks/timerWithMock.test.js|1|||34ms|
|
||||
|🟢 e2e/v8-coverage/empty-sourcemap/test.ts|1|||31ms|
|
||||
|🟢 examples/angular/app.component.spec.ts|3|||654ms|
|
||||
|🟢 examples/angular/shared/data.service.spec.ts|2|||431ms|
|
||||
|🟢 examples/angular/shared/sub.service.spec.ts|1|||109ms|
|
||||
|🟢 examples/async/__tests__/user.test.js|8|||96ms|
|
||||
|🟢 examples/automatic-mocks/__tests__/automock.test.js|2|||74ms|
|
||||
|🟢 examples/automatic-mocks/__tests__/createMockFromModule.test.js|2|||115ms|
|
||||
|🟢 examples/automatic-mocks/__tests__/disableAutomocking.test.js|1|||24ms|
|
||||
|🟢 examples/enzyme/__tests__/CheckboxWithLabel-test.js|1|||434ms|
|
||||
|🟢 examples/getting-started/sum.test.js|1|||78ms|
|
||||
|🟢 examples/jquery/__tests__/display_user.test.js|1|||196ms|
|
||||
|🟢 examples/jquery/__tests__/fetch_current_user.test.js|2|||196ms|
|
||||
|🟢 examples/manual-mocks/__tests__/file_summarizer.test.js|1|||87ms|
|
||||
|🟢 examples/manual-mocks/__tests__/lodashMocking.test.js|1|||109ms|
|
||||
|🟢 examples/manual-mocks/__tests__/user.test.js|1|||41ms|
|
||||
|🟢 examples/manual-mocks/__tests__/userMocked.test.js|1|||105ms|
|
||||
|🟢 examples/module-mock/__tests__/full_mock.js|1|||60ms|
|
||||
|🟢 examples/module-mock/__tests__/mock_per_test.js|2|||116ms|
|
||||
|🟢 examples/module-mock/__tests__/partial_mock.js|1|||215ms|
|
||||
|🟢 examples/mongodb/__test__/db.test.js|1|||236ms|
|
||||
|🟢 examples/react-native/__tests__/intro.test.js|4|||9s|
|
||||
|🟢 examples/react-testing-library/__tests__/CheckboxWithLabel-test.js|1|||469ms|
|
||||
|🟢 examples/react/__tests__/CheckboxWithLabel-test.js|1|||256ms|
|
||||
|🟢 examples/snapshot/__tests__/clock.react.test.js|1|||62ms|
|
||||
|🟢 examples/snapshot/__tests__/link.react.test.js|4|||181ms|
|
||||
|🟢 examples/timer/__tests__/infinite_timer_game.test.js|1|||94ms|
|
||||
|🟢 examples/timer/__tests__/timer_game.test.js|3|||74ms|
|
||||
|🟢 examples/typescript/__tests__/calc.test.ts|6|||276ms|
|
||||
|🟢 examples/typescript/__tests__/CheckboxWithLabel-test.tsx|1|||227ms|
|
||||
|🟢 examples/typescript/__tests__/sub-test.ts|1|||43ms|
|
||||
|🟢 examples/typescript/__tests__/sum-test.ts|2|||69ms|
|
||||
|🟢 examples/typescript/__tests__/sum.test.js|2|||100ms|
|
||||
|🟢 packages/babel-jest/src/__tests__/index.ts|6|||371ms|
|
||||
|🟢 packages/babel-plugin-jest-hoist/src/__tests__/hoistPlugin.test.ts|4|||347ms|
|
||||
|🟢 packages/diff-sequences/src/__tests__/index.property.test.ts|7|||357ms|
|
||||
|🟢 packages/diff-sequences/src/__tests__/index.test.ts|48|||195ms|
|
||||
|🟢 packages/expect/src/__tests__/assertionCounts.test.ts|6|||60ms|
|
||||
|🟢 packages/expect/src/__tests__/asymmetricMatchers.test.ts|38|||207ms|
|
||||
|🟢 packages/expect/src/__tests__/extend.test.ts|10|||99ms|
|
||||
|🟢 packages/expect/src/__tests__/isError.test.ts|4|||43ms|
|
||||
|🟢 packages/expect/src/__tests__/matchers-toContain.property.test.ts|2|||236ms|
|
||||
|🟢 packages/expect/src/__tests__/matchers-toContainEqual.property.test.ts|2|||287ms|
|
||||
|🟢 packages/expect/src/__tests__/matchers-toEqual.property.test.ts|2|||1s|
|
||||
|🟢 packages/expect/src/__tests__/matchers-toStrictEqual.property.test.ts|3|||394ms|
|
||||
|🟢 packages/expect/src/__tests__/matchers.test.js|592|||862ms|
|
||||
|🟢 packages/expect/src/__tests__/spyMatchers.test.ts|248|||395ms|
|
||||
|🟢 packages/expect/src/__tests__/stacktrace.test.ts|3|||69ms|
|
||||
|🟢 packages/expect/src/__tests__/symbolInObjects.test.ts|3|||33ms|
|
||||
|🟢 packages/expect/src/__tests__/toEqual-dom.test.ts|12|||99ms|
|
||||
|🟢 packages/expect/src/__tests__/toThrowMatchers.test.ts|98|||257ms|
|
||||
|🟢 packages/expect/src/__tests__/utils.test.ts|41|||147ms|
|
||||
|🟢 packages/jest-circus/src/__tests__/afterAll.test.ts|6|||6s|
|
||||
|🟢 packages/jest-circus/src/__tests__/baseTest.test.ts|2|||3s|
|
||||
|🟢 packages/jest-circus/src/__tests__/circusItTestError.test.ts|8|||300ms|
|
||||
|🟢 packages/jest-circus/src/__tests__/circusItTodoTestError.test.ts|3|||81ms|
|
||||
|🟢 packages/jest-circus/src/__tests__/hooks.test.ts|3|||4s|
|
||||
|🟢 packages/jest-circus/src/__tests__/hooksError.test.ts|32|||127ms|
|
||||
|🟢 packages/jest-cli/src/__tests__/cli/args.test.ts|17|||345ms|
|
||||
|🟢 packages/jest-cli/src/init/__tests__/init.test.js|24|||119ms|
|
||||
|🟢 packages/jest-cli/src/init/__tests__/modifyPackageJson.test.ts|4|||30ms|
|
||||
|🟢 packages/jest-config/src/__tests__/Defaults.test.ts|1|||672ms|
|
||||
|🟢 packages/jest-config/src/__tests__/getMaxWorkers.test.ts|7|||67ms|
|
||||
|🟢 packages/jest-config/src/__tests__/normalize.test.js|118|||798ms|
|
||||
|🟢 packages/jest-config/src/__tests__/readConfig.test.ts|1|||76ms|
|
||||
|🟢 packages/jest-config/src/__tests__/readConfigs.test.ts|3|||135ms|
|
||||
|🟢 packages/jest-config/src/__tests__/resolveConfigPath.test.ts|10|||183ms|
|
||||
|🟢 packages/jest-config/src/__tests__/setFromArgv.test.ts|4|||53ms|
|
||||
|🟢 packages/jest-config/src/__tests__/validatePattern.test.ts|4|||52ms|
|
||||
|🟢 packages/jest-console/src/__tests__/bufferedConsole.test.ts|20|||171ms|
|
||||
|🟢 packages/jest-console/src/__tests__/CustomConsole.test.ts|23|||115ms|
|
||||
|🟢 packages/jest-console/src/__tests__/getConsoleOutput.test.ts|12|||56ms|
|
||||
|🟢 packages/jest-core/src/__tests__/FailedTestsCache.test.js|1|||25ms|
|
||||
|🟢 packages/jest-core/src/__tests__/getNoTestsFoundMessage.test.js|5|||61ms|
|
||||
|🟢 packages/jest-core/src/__tests__/globals.test.ts|1|||22ms|
|
||||
|🟢 packages/jest-core/src/__tests__/runJest.test.js|2|||261ms|
|
||||
|🟢 packages/jest-core/src/__tests__/SearchSource.test.ts|27|||3s|
|
||||
|🟢 packages/jest-core/src/__tests__/SnapshotInteractiveMode.test.js|13|||89ms|
|
||||
|🟢 packages/jest-core/src/__tests__/TestScheduler.test.js|8|||520ms|
|
||||
|🟢 packages/jest-core/src/__tests__/testSchedulerHelper.test.js|12|||48ms|
|
||||
|🟢 packages/jest-core/src/__tests__/watch.test.js|80|||7s|
|
||||
|🟢 packages/jest-core/src/__tests__/watchFileChanges.test.ts|1|||2s|
|
||||
|🟢 packages/jest-core/src/__tests__/watchFilenamePatternMode.test.js|2|||165ms|
|
||||
|🟢 packages/jest-core/src/__tests__/watchTestNamePatternMode.test.js|1|||246ms|
|
||||
|🟢 packages/jest-core/src/lib/__tests__/isValidPath.test.ts|3|||166ms|
|
||||
|🟢 packages/jest-core/src/lib/__tests__/logDebugMessages.test.ts|3|||48ms|
|
||||
|🟢 packages/jest-create-cache-key-function/src/__tests__/index.test.ts|1|||75ms|
|
||||
|🟢 packages/jest-diff/src/__tests__/diff.test.ts|107|||625ms|
|
||||
|🟢 packages/jest-diff/src/__tests__/diffStringsRaw.test.ts|2|||55ms|
|
||||
|🟢 packages/jest-diff/src/__tests__/getAlignedDiffs.test.ts|24|||72ms|
|
||||
|🟢 packages/jest-diff/src/__tests__/joinAlignedDiffs.test.ts|6|||44ms|
|
||||
|🟢 packages/jest-docblock/src/__tests__/index.test.ts|36|||177ms|
|
||||
|🟢 packages/jest-each/src/__tests__/array.test.ts|159|||192ms|
|
||||
|🟢 packages/jest-each/src/__tests__/index.test.ts|10|||44ms|
|
||||
|🟢 packages/jest-each/src/__tests__/template.test.ts|242|||483ms|
|
||||
|🟢 packages/jest-environment-jsdom/src/__tests__/jsdom_environment.test.ts|2|||783ms|
|
||||
|🟢 packages/jest-environment-node/src/__tests__/node_environment.test.ts|6|||184ms|
|
||||
|🟢 packages/jest-fake-timers/src/__tests__/legacyFakeTimers.test.ts|50|||302ms|
|
||||
|🟢 packages/jest-fake-timers/src/__tests__/modernFakeTimers.test.ts|40|||317ms|
|
||||
|🟢 packages/jest-get-type/src/__tests__/getType.test.ts|14|||45ms|
|
||||
|🟢 packages/jest-get-type/src/__tests__/isPrimitive.test.ts|18|||36ms|
|
||||
|🟢 packages/jest-globals/src/__tests__/index.ts|1|||533ms|
|
||||
|🟢 packages/jest-haste-map/src/__tests__/get_mock_name.test.js|1|||22ms|
|
||||
|🟢 packages/jest-haste-map/src/__tests__/includes_dotfiles.test.ts|1|||337ms|
|
||||
|🟢 packages/jest-haste-map/src/__tests__/index.test.js|44|||1s|
|
||||
|🟢 packages/jest-haste-map/src/__tests__/worker.test.js|7|||100ms|
|
||||
|🟢 packages/jest-haste-map/src/crawlers/__tests__/node.test.js|10|||170ms|
|
||||
|🟢 packages/jest-haste-map/src/crawlers/__tests__/watchman.test.js|8|||153ms|
|
||||
|🟢 packages/jest-haste-map/src/lib/__tests__/dependencyExtractor.test.js|15|||56ms|
|
||||
|🟢 packages/jest-haste-map/src/lib/__tests__/fast_path.test.js|5|||29ms|
|
||||
|🟢 packages/jest-haste-map/src/lib/__tests__/getPlatformExtension.test.js|1|||35ms|
|
||||
|🟢 packages/jest-haste-map/src/lib/__tests__/isRegExpSupported.test.js|2|||31ms|
|
||||
|🟢 packages/jest-haste-map/src/lib/__tests__/normalizePathSep.test.js|2|||35ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/concurrent.test.ts|3|||24ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/expectationResultFactory.test.ts|7|||70ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/hooksError.test.ts|32|||51ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/iterators.test.ts|4|||43ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/itTestError.test.ts|6|||32ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/itToTestAlias.test.ts|1|||23ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/pTimeout.test.ts|3|||44ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/queueRunner.test.ts|6|||93ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/reporter.test.ts|1|||107ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/Suite.test.ts|1|||84ms|
|
||||
|🟢 packages/jest-jasmine2/src/__tests__/todoError.test.ts|3|||27ms|
|
||||
|🟢 packages/jest-leak-detector/src/__tests__/index.test.ts|6|||986ms|
|
||||
|🟢 packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceable.test.ts|11|||49ms|
|
||||
|🟢 packages/jest-matcher-utils/src/__tests__/deepCyclicCopyReplaceableDom.test.ts|2|||48ms|
|
||||
|🟢 packages/jest-matcher-utils/src/__tests__/index.test.ts|48|||391ms|
|
||||
|🟢 packages/jest-matcher-utils/src/__tests__/printDiffOrStringify.test.ts|21|||114ms|
|
||||
|🟢 packages/jest-matcher-utils/src/__tests__/Replaceable.test.ts|17|||111ms|
|
||||
|🟢 packages/jest-message-util/src/__tests__/messages.test.ts|11|||205ms|
|
||||
|🟢 packages/jest-mock/src/__tests__/index.test.ts|84|||509ms|
|
||||
|🟢 packages/jest-regex-util/src/__tests__/index.test.ts|8|||56ms|
|
||||
|🟢 packages/jest-repl/src/__tests__/jest_repl.test.js|1|||1s|
|
||||
|🟢 packages/jest-repl/src/__tests__/runtime_cli.test.js|4|||4s|
|
||||
|🟢 packages/jest-reporters/src/__tests__/CoverageReporter.test.js|12|||397ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/CoverageWorker.test.js|2|||199ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/DefaultReporter.test.js|2|||148ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js|3|||1s|
|
||||
|🟢 packages/jest-reporters/src/__tests__/getResultHeader.test.js|4|||30ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/getSnapshotStatus.test.js|3|||28ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/getSnapshotSummary.test.js|4|||49ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/getWatermarks.test.ts|2|||37ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/NotifyReporter.test.ts|18|||166ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/SummaryReporter.test.js|4|||366ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/utils.test.ts|10|||85ms|
|
||||
|🟢 packages/jest-reporters/src/__tests__/VerboseReporter.test.js|11|||425ms|
|
||||
|🟢 packages/jest-resolve-dependencies/src/__tests__/dependency_resolver.test.ts|11|||666ms|
|
||||
|🟢 packages/jest-resolve/src/__tests__/isBuiltinModule.test.ts|4|||36ms|
|
||||
|🟢 packages/jest-resolve/src/__tests__/resolve.test.ts|16|||1s|
|
||||
|🟢 packages/jest-runner/src/__tests__/testRunner.test.ts|2|||905ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/instrumentation.test.ts|1|||275ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_create_mock_from_module.test.js|3|||606ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_environment.test.js|2|||497ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_internal_module.test.js|4|||727ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_jest_fn.js|4|||479ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_jest_spy_on.test.js|2|||521ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_mock.test.js|4|||743ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_module_directories.test.js|4|||525ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_node_path.test.js|4|||1s|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_actual.test.js|2|||478ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_cache.test.js|2|||454ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_mock.test.js|13|||962ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_module_no_ext.test.js|1|||261ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_module_or_mock_transitive_deps.test.js|6|||2s|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_module_or_mock.test.js|17|||1s|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_module.test.js|27|||2s|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_require_resolve.test.ts|5|||707ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/runtime_wrap.js|2|||263ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/Runtime-sourceMaps.test.js|1|||584ms|
|
||||
|🟢 packages/jest-runtime/src/__tests__/Runtime-statics.test.js|2|||162ms|
|
||||
|🟢 packages/jest-serializer/src/__tests__/index.test.ts|17|||158ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/dedentLines.test.ts|17|||94ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/InlineSnapshots.test.ts|22|||1s|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/matcher.test.ts|1|||131ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/mockSerializer.test.ts|10|||45ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/printSnapshot.test.ts|71|||1s|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/SnapshotResolver.test.ts|10|||98ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/throwMatcher.test.ts|3|||481ms|
|
||||
|🟢 packages/jest-snapshot/src/__tests__/utils.test.ts|26|||214ms|
|
||||
|🟢 packages/jest-source-map/src/__tests__/getCallsite.test.ts|3|||86ms|
|
||||
|🟢 packages/jest-test-result/src/__tests__/formatTestResults.test.ts|1|||53ms|
|
||||
|🟢 packages/jest-test-sequencer/src/__tests__/test_sequencer.test.js|8|||251ms|
|
||||
|🟢 packages/jest-transform/src/__tests__/ScriptTransformer.test.ts|22|||2s|
|
||||
|🟢 packages/jest-transform/src/__tests__/shouldInstrument.test.ts|25|||155ms|
|
||||
|🟢 packages/jest-util/src/__tests__/createProcessObject.test.ts|4|||81ms|
|
||||
|🟢 packages/jest-util/src/__tests__/deepCyclicCopy.test.ts|12|||86ms|
|
||||
|🟢 packages/jest-util/src/__tests__/errorWithStack.test.ts|1|||41ms|
|
||||
|🟢 packages/jest-util/src/__tests__/formatTime.test.ts|11|||82ms|
|
||||
|🟢 packages/jest-util/src/__tests__/globsToMatcher.test.ts|4|||56ms|
|
||||
|🟢 packages/jest-util/src/__tests__/installCommonGlobals.test.ts|2|||68ms|
|
||||
|🟢 packages/jest-util/src/__tests__/isInteractive.test.ts|2|||35ms|
|
||||
|🟢 packages/jest-util/src/__tests__/isPromise.test.ts|10|||30ms|
|
||||
|🟢 packages/jest-validate/src/__tests__/validate.test.ts|23|||283ms|
|
||||
|🟢 packages/jest-validate/src/__tests__/validateCLIOptions.test.js|6|||83ms|
|
||||
|🟢 packages/jest-watcher/src/lib/__tests__/formatTestNameByPattern.test.ts|11|||129ms|
|
||||
|🟢 packages/jest-watcher/src/lib/__tests__/prompt.test.ts|3|||91ms|
|
||||
|🟢 packages/jest-watcher/src/lib/__tests__/scroll.test.ts|5|||57ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/Farm.test.js|10|||158ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/FifoQueue.test.js|3|||48ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/index.test.js|8|||230ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/PriorityQueue.test.js|5|||63ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/process-integration.test.js|5|||62ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/thread-integration.test.js|6|||114ms|
|
||||
|🟢 packages/jest-worker/src/__tests__/WorkerPool.test.js|3|||51ms|
|
||||
|🟢 packages/jest-worker/src/base/__tests__/BaseWorkerPool.test.js|11|||653ms|
|
||||
|🟢 packages/jest-worker/src/workers/__tests__/ChildProcessWorker.test.js|17|||184ms|
|
||||
|🟢 packages/jest-worker/src/workers/__tests__/NodeThreadsWorker.test.js|15|||258ms|
|
||||
|🟢 packages/jest-worker/src/workers/__tests__/processChild.test.js|10|||135ms|
|
||||
|🟢 packages/jest-worker/src/workers/__tests__/threadChild.test.js|10|||120ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/AsymmetricMatcher.test.ts|38|||137ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/ConvertAnsi.test.ts|6|||43ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/DOMCollection.test.ts|10|||64ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/DOMElement.test.ts|28|||148ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/Immutable.test.ts|111|||443ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/prettyFormat.test.ts|86|||219ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/react.test.tsx|55|||325ms|
|
||||
|🟢 packages/pretty-format/src/__tests__/ReactElement.test.ts|3|||64ms|
|
||||
### 🔴 <a id="user-content-r0s75" href="#r0s75">e2e/__tests__/jestChangedFiles.test.ts</a>
|
||||
```
|
||||
✅ gets hg SCM roots and dedupes them
|
||||
✅ gets git SCM roots and dedupes them
|
||||
✅ gets mixed git and hg SCM roots and dedupes them
|
||||
✅ gets changed files for git
|
||||
✅ monitors only root paths for git
|
||||
✅ does not find changes in files with no diff, for git
|
||||
✅ handles a bad revision for "changedSince", for git
|
||||
❌ gets changed files for hg
|
||||
🟢 gets hg SCM roots and dedupes them
|
||||
🟢 gets git SCM roots and dedupes them
|
||||
🟢 gets mixed git and hg SCM roots and dedupes them
|
||||
🟢 gets changed files for git
|
||||
🟢 monitors only root paths for git
|
||||
🟢 does not find changes in files with no diff, for git
|
||||
🟢 handles a bad revision for "changedSince", for git
|
||||
🔴 gets changed files for hg
|
||||
Error: abort: empty revision range
|
||||
✅ monitors only root paths for hg
|
||||
✅ handles a bad revision for "changedSince", for hg
|
||||
🟢 monitors only root paths for hg
|
||||
🟢 handles a bad revision for "changedSince", for hg
|
||||
```
|
||||
### ❌ <a id="user-content-r0s98" href="#r0s98">e2e/__tests__/onlyChanged.test.ts</a>
|
||||
### 🔴 <a id="user-content-r0s98" href="#r0s98">e2e/__tests__/onlyChanged.test.ts</a>
|
||||
```
|
||||
✅ run for "onlyChanged" and "changedSince"
|
||||
✅ run only changed files
|
||||
✅ report test coverage for only changed files
|
||||
✅ report test coverage of source on test file change under only changed files
|
||||
✅ do not pickup non-tested files when reporting coverage on only changed files
|
||||
✅ collect test coverage when using onlyChanged
|
||||
✅ onlyChanged in config is overwritten by --all or testPathPattern
|
||||
❌ gets changed files for hg
|
||||
🟢 run for "onlyChanged" and "changedSince"
|
||||
🟢 run only changed files
|
||||
🟢 report test coverage for only changed files
|
||||
🟢 report test coverage of source on test file change under only changed files
|
||||
🟢 do not pickup non-tested files when reporting coverage on only changed files
|
||||
🟢 collect test coverage when using onlyChanged
|
||||
🟢 onlyChanged in config is overwritten by --all or testPathPattern
|
||||
🔴 gets changed files for hg
|
||||
Error: expect(received).toMatch(expected)
|
||||
✅ path on Windows is case-insensitive
|
||||
🟢 path on Windows is case-insensitive
|
||||
```
|
||||
|
|
@ -1,29 +1,29 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/mocha-json.json</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/mocha-json.json</a>
|
||||
**6** tests were completed in **12ms** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/main.test.js](#r0s0)|1✅|3❌||1ms|
|
||||
|[test/second.test.js](#r0s1)||1❌|1⚪|8ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">test/main.test.js</a>
|
||||
|🔴 [test/main.test.js](#r0s0)|1|3||1ms|
|
||||
|🔴 [test/second.test.js](#r0s1)||1|1|8ms|
|
||||
### 🔴 <a id="user-content-r0s0" href="#r0s0">test/main.test.js</a>
|
||||
```
|
||||
Test 1
|
||||
✅ Passing test
|
||||
🟢 Passing test
|
||||
Test 1 Test 1.1
|
||||
❌ Exception in target unit
|
||||
🔴 Exception in target unit
|
||||
Some error
|
||||
❌ Failing test
|
||||
🔴 Failing test
|
||||
Expected values to be strictly equal:
|
||||
|
||||
false !== true
|
||||
|
||||
Test 2
|
||||
❌ Exception in test
|
||||
🔴 Exception in test
|
||||
Some error
|
||||
```
|
||||
### ❌ <a id="user-content-r0s1" href="#r0s1">test/second.test.js</a>
|
||||
### 🔴 <a id="user-content-r0s1" href="#r0s1">test/second.test.js</a>
|
||||
```
|
||||
⚪ Skipped test
|
||||
❌ Timeout test
|
||||
🔴 Timeout test
|
||||
Timeout of 1ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Users\Michal\Workspace\dorny\test-reporter\reports\mocha\test\second.test.js)
|
||||
```
|
||||
|
|
@ -1,41 +1,41 @@
|
|||

|
||||
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/mocha/mocha-test-results.json</a>
|
||||
## 🟢 <a id="user-content-r0" href="#r0">fixtures/external/mocha/mocha-test-results.json</a>
|
||||
**839** tests were completed in **6s** with **833** passed, **0** failed and **6** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|test/node-unit/buffered-worker-pool.spec.js|14✅|||8ms|
|
||||
|test/node-unit/cli/config.spec.js|10✅|||8ms|
|
||||
|test/node-unit/cli/node-flags.spec.js|105✅|||9ms|
|
||||
|test/node-unit/cli/options.spec.js|36✅|||250ms|
|
||||
|test/node-unit/cli/run-helpers.spec.js|9✅|||8ms|
|
||||
|test/node-unit/cli/run.spec.js|40✅|||4ms|
|
||||
|test/node-unit/mocha.spec.js|24✅|||33ms|
|
||||
|test/node-unit/parallel-buffered-runner.spec.js|19✅|||23ms|
|
||||
|test/node-unit/reporters/parallel-buffered.spec.js|6✅|||16ms|
|
||||
|test/node-unit/serializer.spec.js|40✅|||31ms|
|
||||
|test/node-unit/stack-trace-filter.spec.js|2✅||4⚪|1ms|
|
||||
|test/node-unit/utils.spec.js|5✅|||1ms|
|
||||
|test/node-unit/worker.spec.js|15✅|||92ms|
|
||||
|test/unit/context.spec.js|8✅|||5ms|
|
||||
|test/unit/duration.spec.js|3✅|||166ms|
|
||||
|test/unit/errors.spec.js|13✅|||5ms|
|
||||
|test/unit/globals.spec.js|4✅|||0ms|
|
||||
|test/unit/grep.spec.js|8✅|||2ms|
|
||||
|test/unit/hook-async.spec.js|3✅|||1ms|
|
||||
|test/unit/hook-sync-nested.spec.js|4✅|||1ms|
|
||||
|test/unit/hook-sync.spec.js|3✅|||0ms|
|
||||
|test/unit/hook-timeout.spec.js|1✅|||0ms|
|
||||
|test/unit/hook.spec.js|4✅|||0ms|
|
||||
|test/unit/mocha.spec.js|115✅||1⚪|128ms|
|
||||
|test/unit/overspecified-async.spec.js|1✅|||3ms|
|
||||
|test/unit/parse-query.spec.js|2✅|||1ms|
|
||||
|test/unit/plugin-loader.spec.js|41✅||1⚪|16ms|
|
||||
|test/unit/required-tokens.spec.js|1✅|||0ms|
|
||||
|test/unit/root.spec.js|1✅|||0ms|
|
||||
|test/unit/runnable.spec.js|55✅|||122ms|
|
||||
|test/unit/runner.spec.js|77✅|||43ms|
|
||||
|test/unit/suite.spec.js|57✅|||14ms|
|
||||
|test/unit/test.spec.js|15✅|||0ms|
|
||||
|test/unit/throw.spec.js|9✅|||9ms|
|
||||
|test/unit/timeout.spec.js|8✅|||109ms|
|
||||
|test/unit/utils.spec.js|75✅|||24ms|
|
||||
|🟢 test/node-unit/buffered-worker-pool.spec.js|14|||8ms|
|
||||
|🟢 test/node-unit/cli/config.spec.js|10|||8ms|
|
||||
|🟢 test/node-unit/cli/node-flags.spec.js|105|||9ms|
|
||||
|🟢 test/node-unit/cli/options.spec.js|36|||250ms|
|
||||
|🟢 test/node-unit/cli/run-helpers.spec.js|9|||8ms|
|
||||
|🟢 test/node-unit/cli/run.spec.js|40|||4ms|
|
||||
|🟢 test/node-unit/mocha.spec.js|24|||33ms|
|
||||
|🟢 test/node-unit/parallel-buffered-runner.spec.js|19|||23ms|
|
||||
|🟢 test/node-unit/reporters/parallel-buffered.spec.js|6|||16ms|
|
||||
|🟢 test/node-unit/serializer.spec.js|40|||31ms|
|
||||
|🟢 test/node-unit/stack-trace-filter.spec.js|2||4|1ms|
|
||||
|🟢 test/node-unit/utils.spec.js|5|||1ms|
|
||||
|🟢 test/node-unit/worker.spec.js|15|||92ms|
|
||||
|🟢 test/unit/context.spec.js|8|||5ms|
|
||||
|🟢 test/unit/duration.spec.js|3|||166ms|
|
||||
|🟢 test/unit/errors.spec.js|13|||5ms|
|
||||
|🟢 test/unit/globals.spec.js|4|||0ms|
|
||||
|🟢 test/unit/grep.spec.js|8|||2ms|
|
||||
|🟢 test/unit/hook-async.spec.js|3|||1ms|
|
||||
|🟢 test/unit/hook-sync-nested.spec.js|4|||1ms|
|
||||
|🟢 test/unit/hook-sync.spec.js|3|||0ms|
|
||||
|🟢 test/unit/hook-timeout.spec.js|1|||0ms|
|
||||
|🟢 test/unit/hook.spec.js|4|||0ms|
|
||||
|🟢 test/unit/mocha.spec.js|115||1|128ms|
|
||||
|🟢 test/unit/overspecified-async.spec.js|1|||3ms|
|
||||
|🟢 test/unit/parse-query.spec.js|2|||1ms|
|
||||
|🟢 test/unit/plugin-loader.spec.js|41||1|16ms|
|
||||
|🟢 test/unit/required-tokens.spec.js|1|||0ms|
|
||||
|🟢 test/unit/root.spec.js|1|||0ms|
|
||||
|🟢 test/unit/runnable.spec.js|55|||122ms|
|
||||
|🟢 test/unit/runner.spec.js|77|||43ms|
|
||||
|🟢 test/unit/suite.spec.js|57|||14ms|
|
||||
|🟢 test/unit/test.spec.js|15|||0ms|
|
||||
|🟢 test/unit/throw.spec.js|9|||9ms|
|
||||
|🟢 test/unit/timeout.spec.js|8|||109ms|
|
||||
|🟢 test/unit/utils.spec.js|75|||24ms|
|
||||
|
|
@ -1,371 +1,371 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/flutter/provider-test-results.json</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/external/flutter/provider-test-results.json</a>
|
||||
**269** tests were completed in **0ms** with **268** passed, **1** failed and **0** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/builder_test.dart](#r0s0)|24✅|||402ms|
|
||||
|[test/change_notifier_provider_test.dart](#r0s1)|10✅|||306ms|
|
||||
|[test/consumer_test.dart](#r0s2)|18✅|||340ms|
|
||||
|[test/context_test.dart](#r0s3)|31✅|||698ms|
|
||||
|[test/future_provider_test.dart](#r0s4)|10✅|||305ms|
|
||||
|[test/inherited_provider_test.dart](#r0s5)|81✅|||1s|
|
||||
|[test/listenable_provider_test.dart](#r0s6)|16✅|||353ms|
|
||||
|[test/listenable_proxy_provider_test.dart](#r0s7)|12✅|||373ms|
|
||||
|[test/multi_provider_test.dart](#r0s8)|3✅|||198ms|
|
||||
|[test/provider_test.dart](#r0s9)|11✅|||306ms|
|
||||
|[test/proxy_provider_test.dart](#r0s10)|16✅|||438ms|
|
||||
|[test/reassemble_test.dart](#r0s11)|3✅|||221ms|
|
||||
|[test/selector_test.dart](#r0s12)|17✅|||364ms|
|
||||
|[test/stateful_provider_test.dart](#r0s13)|4✅|||254ms|
|
||||
|[test/stream_provider_test.dart](#r0s14)|8✅|||282ms|
|
||||
|[test/value_listenable_provider_test.dart](#r0s15)|4✅|1❌||327ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">test/builder_test.dart</a>
|
||||
|🟢 [test/builder_test.dart](#r0s0)|24|||402ms|
|
||||
|🟢 [test/change_notifier_provider_test.dart](#r0s1)|10|||306ms|
|
||||
|🟢 [test/consumer_test.dart](#r0s2)|18|||340ms|
|
||||
|🟢 [test/context_test.dart](#r0s3)|31|||698ms|
|
||||
|🟢 [test/future_provider_test.dart](#r0s4)|10|||305ms|
|
||||
|🟢 [test/inherited_provider_test.dart](#r0s5)|81|||1s|
|
||||
|🟢 [test/listenable_provider_test.dart](#r0s6)|16|||353ms|
|
||||
|🟢 [test/listenable_proxy_provider_test.dart](#r0s7)|12|||373ms|
|
||||
|🟢 [test/multi_provider_test.dart](#r0s8)|3|||198ms|
|
||||
|🟢 [test/provider_test.dart](#r0s9)|11|||306ms|
|
||||
|🟢 [test/proxy_provider_test.dart](#r0s10)|16|||438ms|
|
||||
|🟢 [test/reassemble_test.dart](#r0s11)|3|||221ms|
|
||||
|🟢 [test/selector_test.dart](#r0s12)|17|||364ms|
|
||||
|🟢 [test/stateful_provider_test.dart](#r0s13)|4|||254ms|
|
||||
|🟢 [test/stream_provider_test.dart](#r0s14)|8|||282ms|
|
||||
|🔴 [test/value_listenable_provider_test.dart](#r0s15)|4|1||327ms|
|
||||
### 🟢 <a id="user-content-r0s0" href="#r0s0">test/builder_test.dart</a>
|
||||
```
|
||||
ChangeNotifierProvider
|
||||
✅ default
|
||||
✅ .value
|
||||
🟢 default
|
||||
🟢 .value
|
||||
ListenableProvider
|
||||
✅ default
|
||||
✅ .value
|
||||
🟢 default
|
||||
🟢 .value
|
||||
Provider
|
||||
✅ default
|
||||
✅ .value
|
||||
🟢 default
|
||||
🟢 .value
|
||||
ProxyProvider
|
||||
✅ 0
|
||||
✅ 1
|
||||
✅ 2
|
||||
✅ 3
|
||||
✅ 4
|
||||
✅ 5
|
||||
✅ 6
|
||||
🟢 0
|
||||
🟢 1
|
||||
🟢 2
|
||||
🟢 3
|
||||
🟢 4
|
||||
🟢 5
|
||||
🟢 6
|
||||
MultiProvider
|
||||
✅ with 1 ChangeNotifierProvider default
|
||||
✅ with 2 ChangeNotifierProvider default
|
||||
✅ with ListenableProvider default
|
||||
✅ with Provider default
|
||||
✅ with ProxyProvider0
|
||||
✅ with ProxyProvider1
|
||||
✅ with ProxyProvider2
|
||||
✅ with ProxyProvider3
|
||||
✅ with ProxyProvider4
|
||||
✅ with ProxyProvider5
|
||||
✅ with ProxyProvider6
|
||||
🟢 with 1 ChangeNotifierProvider default
|
||||
🟢 with 2 ChangeNotifierProvider default
|
||||
🟢 with ListenableProvider default
|
||||
🟢 with Provider default
|
||||
🟢 with ProxyProvider0
|
||||
🟢 with ProxyProvider1
|
||||
🟢 with ProxyProvider2
|
||||
🟢 with ProxyProvider3
|
||||
🟢 with ProxyProvider4
|
||||
🟢 with ProxyProvider5
|
||||
🟢 with ProxyProvider6
|
||||
```
|
||||
### ✅ <a id="user-content-r0s1" href="#r0s1">test/change_notifier_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s1" href="#r0s1">test/change_notifier_provider_test.dart</a>
|
||||
```
|
||||
✅ Use builder property, not child
|
||||
🟢 Use builder property, not child
|
||||
ChangeNotifierProvider
|
||||
✅ value
|
||||
✅ builder
|
||||
✅ builder1
|
||||
✅ builder2
|
||||
✅ builder3
|
||||
✅ builder4
|
||||
✅ builder5
|
||||
✅ builder6
|
||||
✅ builder0
|
||||
🟢 value
|
||||
🟢 builder
|
||||
🟢 builder1
|
||||
🟢 builder2
|
||||
🟢 builder3
|
||||
🟢 builder4
|
||||
🟢 builder5
|
||||
🟢 builder6
|
||||
🟢 builder0
|
||||
```
|
||||
### ✅ <a id="user-content-r0s2" href="#r0s2">test/consumer_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s2" href="#r0s2">test/consumer_test.dart</a>
|
||||
```
|
||||
consumer
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
consumer2
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
consumer3
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
consumer4
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
consumer5
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
consumer6
|
||||
✅ obtains value from Provider<T>
|
||||
✅ crashed with no builder
|
||||
✅ can be used inside MultiProvider
|
||||
🟢 obtains value from Provider<T>
|
||||
🟢 crashed with no builder
|
||||
🟢 can be used inside MultiProvider
|
||||
```
|
||||
### ✅ <a id="user-content-r0s3" href="#r0s3">test/context_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s3" href="#r0s3">test/context_test.dart</a>
|
||||
```
|
||||
✅ watch in layoutbuilder
|
||||
✅ select in layoutbuilder
|
||||
✅ cannot select in listView
|
||||
✅ watch in listView
|
||||
✅ watch in gridView
|
||||
✅ clears select dependencies for all dependents
|
||||
🟢 watch in layoutbuilder
|
||||
🟢 select in layoutbuilder
|
||||
🟢 cannot select in listView
|
||||
🟢 watch in listView
|
||||
🟢 watch in gridView
|
||||
🟢 clears select dependencies for all dependents
|
||||
BuildContext
|
||||
✅ internal selected value is updated
|
||||
✅ create can use read without being lazy
|
||||
✅ watch can be used inside InheritedProvider.update
|
||||
✅ select doesn't fail if it loads a provider that depends on other providers
|
||||
✅ don't call old selectors if the child rebuilds individually
|
||||
✅ selects throws inside click handlers
|
||||
✅ select throws if try to read dynamic
|
||||
✅ select throws ProviderNotFoundException
|
||||
✅ select throws if watch called inside the callback from build
|
||||
✅ select throws if read called inside the callback from build
|
||||
✅ select throws if select called inside the callback from build
|
||||
✅ select throws if read called inside the callback on dependency change
|
||||
✅ select throws if watch called inside the callback on dependency change
|
||||
✅ select throws if select called inside the callback on dependency change
|
||||
✅ can call read inside didChangeDependencies
|
||||
✅ select cannot be called inside didChangeDependencies
|
||||
✅ select in initState throws
|
||||
✅ watch in initState throws
|
||||
✅ read in initState works
|
||||
✅ consumer can be removed and selector stops to be called
|
||||
✅ context.select deeply compares maps
|
||||
✅ context.select deeply compares lists
|
||||
✅ context.select deeply compares iterables
|
||||
✅ context.select deeply compares sets
|
||||
✅ context.watch listens to value changes
|
||||
🟢 internal selected value is updated
|
||||
🟢 create can use read without being lazy
|
||||
🟢 watch can be used inside InheritedProvider.update
|
||||
🟢 select doesn't fail if it loads a provider that depends on other providers
|
||||
🟢 don't call old selectors if the child rebuilds individually
|
||||
🟢 selects throws inside click handlers
|
||||
🟢 select throws if try to read dynamic
|
||||
🟢 select throws ProviderNotFoundException
|
||||
🟢 select throws if watch called inside the callback from build
|
||||
🟢 select throws if read called inside the callback from build
|
||||
🟢 select throws if select called inside the callback from build
|
||||
🟢 select throws if read called inside the callback on dependency change
|
||||
🟢 select throws if watch called inside the callback on dependency change
|
||||
🟢 select throws if select called inside the callback on dependency change
|
||||
🟢 can call read inside didChangeDependencies
|
||||
🟢 select cannot be called inside didChangeDependencies
|
||||
🟢 select in initState throws
|
||||
🟢 watch in initState throws
|
||||
🟢 read in initState works
|
||||
🟢 consumer can be removed and selector stops to be called
|
||||
🟢 context.select deeply compares maps
|
||||
🟢 context.select deeply compares lists
|
||||
🟢 context.select deeply compares iterables
|
||||
🟢 context.select deeply compares sets
|
||||
🟢 context.watch listens to value changes
|
||||
```
|
||||
### ✅ <a id="user-content-r0s4" href="#r0s4">test/future_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s4" href="#r0s4">test/future_provider_test.dart</a>
|
||||
```
|
||||
✅ works with MultiProvider
|
||||
✅ (catchError) previous future completes after transition is no-op
|
||||
✅ previous future completes after transition is no-op
|
||||
✅ transition from future to future preserve state
|
||||
✅ throws if future has error and catchError is missing
|
||||
✅ calls catchError if present and future has error
|
||||
✅ works with null
|
||||
✅ create and dispose future with builder
|
||||
✅ FutureProvider() crashes if builder is null
|
||||
🟢 works with MultiProvider
|
||||
🟢 (catchError) previous future completes after transition is no-op
|
||||
🟢 previous future completes after transition is no-op
|
||||
🟢 transition from future to future preserve state
|
||||
🟢 throws if future has error and catchError is missing
|
||||
🟢 calls catchError if present and future has error
|
||||
🟢 works with null
|
||||
🟢 create and dispose future with builder
|
||||
🟢 FutureProvider() crashes if builder is null
|
||||
FutureProvider()
|
||||
✅ crashes if builder is null
|
||||
🟢 crashes if builder is null
|
||||
```
|
||||
### ✅ <a id="user-content-r0s5" href="#r0s5">test/inherited_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s5" href="#r0s5">test/inherited_provider_test.dart</a>
|
||||
```
|
||||
✅ regression test #377
|
||||
✅ rebuild on dependency flags update
|
||||
✅ properly update debug flags if a create triggers another deferred create
|
||||
✅ properly update debug flags if a create triggers another deferred create
|
||||
✅ properly update debug flags if an update triggers another create/update
|
||||
✅ properly update debug flags if a create triggers another create/update
|
||||
✅ Provider.of(listen: false) outside of build works when it loads a provider
|
||||
✅ new value is available in didChangeDependencies
|
||||
✅ builder receives the current value and updates independently from `update`
|
||||
✅ builder can _not_ rebuild when provider updates
|
||||
✅ builder rebuilds if provider is recreated
|
||||
✅ provider.of throws if listen:true outside of the widget tree
|
||||
✅ InheritedProvider throws if no child is provided with default constructor
|
||||
✅ InheritedProvider throws if no child is provided with value constructor
|
||||
✅ DeferredInheritedProvider throws if no child is provided with default constructor
|
||||
✅ DeferredInheritedProvider throws if no child is provided with value constructor
|
||||
✅ startListening markNeedsNotifyDependents
|
||||
✅ InheritedProvider can be subclassed
|
||||
✅ DeferredInheritedProvider can be subclassed
|
||||
✅ can be used with MultiProvider
|
||||
✅ throw if the widget ctor changes
|
||||
✅ InheritedProvider lazy loading can be disabled
|
||||
✅ InheritedProvider.value lazy loading can be disabled
|
||||
✅ InheritedProvider subclass don't have to specify default lazy value
|
||||
✅ DeferredInheritedProvider lazy loading can be disabled
|
||||
✅ DeferredInheritedProvider.value lazy loading can be disabled
|
||||
✅ selector
|
||||
✅ can select multiple types from same provider
|
||||
✅ can select same type on two different providers
|
||||
✅ can select same type twice on same provider
|
||||
✅ Provider.of has a proper error message if context is null
|
||||
🟢 regression test #377
|
||||
🟢 rebuild on dependency flags update
|
||||
🟢 properly update debug flags if a create triggers another deferred create
|
||||
🟢 properly update debug flags if a create triggers another deferred create
|
||||
🟢 properly update debug flags if an update triggers another create/update
|
||||
🟢 properly update debug flags if a create triggers another create/update
|
||||
🟢 Provider.of(listen: false) outside of build works when it loads a provider
|
||||
🟢 new value is available in didChangeDependencies
|
||||
🟢 builder receives the current value and updates independently from `update`
|
||||
🟢 builder can _not_ rebuild when provider updates
|
||||
🟢 builder rebuilds if provider is recreated
|
||||
🟢 provider.of throws if listen:true outside of the widget tree
|
||||
🟢 InheritedProvider throws if no child is provided with default constructor
|
||||
🟢 InheritedProvider throws if no child is provided with value constructor
|
||||
🟢 DeferredInheritedProvider throws if no child is provided with default constructor
|
||||
🟢 DeferredInheritedProvider throws if no child is provided with value constructor
|
||||
🟢 startListening markNeedsNotifyDependents
|
||||
🟢 InheritedProvider can be subclassed
|
||||
🟢 DeferredInheritedProvider can be subclassed
|
||||
🟢 can be used with MultiProvider
|
||||
🟢 throw if the widget ctor changes
|
||||
🟢 InheritedProvider lazy loading can be disabled
|
||||
🟢 InheritedProvider.value lazy loading can be disabled
|
||||
🟢 InheritedProvider subclass don't have to specify default lazy value
|
||||
🟢 DeferredInheritedProvider lazy loading can be disabled
|
||||
🟢 DeferredInheritedProvider.value lazy loading can be disabled
|
||||
🟢 selector
|
||||
🟢 can select multiple types from same provider
|
||||
🟢 can select same type on two different providers
|
||||
🟢 can select same type twice on same provider
|
||||
🟢 Provider.of has a proper error message if context is null
|
||||
diagnostics
|
||||
✅ InheritedProvider.value
|
||||
✅ InheritedProvider doesn't break lazy loading
|
||||
✅ InheritedProvider show if listening
|
||||
✅ DeferredInheritedProvider.value
|
||||
✅ DeferredInheritedProvider
|
||||
🟢 InheritedProvider.value
|
||||
🟢 InheritedProvider doesn't break lazy loading
|
||||
🟢 InheritedProvider show if listening
|
||||
🟢 DeferredInheritedProvider.value
|
||||
🟢 DeferredInheritedProvider
|
||||
InheritedProvider.value()
|
||||
✅ markNeedsNotifyDependents during startListening is noop
|
||||
✅ startListening called again when create returns new value
|
||||
✅ startListening
|
||||
✅ stopListening not called twice if rebuild doesn't have listeners
|
||||
✅ removeListener cannot be null
|
||||
✅ pass down current value
|
||||
✅ default updateShouldNotify
|
||||
✅ custom updateShouldNotify
|
||||
🟢 markNeedsNotifyDependents during startListening is noop
|
||||
🟢 startListening called again when create returns new value
|
||||
🟢 startListening
|
||||
🟢 stopListening not called twice if rebuild doesn't have listeners
|
||||
🟢 removeListener cannot be null
|
||||
🟢 pass down current value
|
||||
🟢 default updateShouldNotify
|
||||
🟢 custom updateShouldNotify
|
||||
InheritedProvider()
|
||||
✅ hasValue
|
||||
✅ provider calls update if rebuilding only due to didChangeDependencies
|
||||
✅ provider notifying dependents doesn't call update
|
||||
✅ update can call Provider.of with listen:true
|
||||
✅ update lazy loaded can call Provider.of with listen:true
|
||||
✅ markNeedsNotifyDependents during startListening is noop
|
||||
✅ update can obtain parent of the same type than self
|
||||
✅ _debugCheckInvalidValueType
|
||||
✅ startListening
|
||||
✅ startListening called again when create returns new value
|
||||
✅ stopListening not called twice if rebuild doesn't have listeners
|
||||
✅ removeListener cannot be null
|
||||
✅ fails if initialValueBuilder calls inheritFromElement/inheritFromWiggetOfExactType
|
||||
✅ builder is called on every rebuild and after a dependency change
|
||||
✅ builder with no updateShouldNotify use ==
|
||||
✅ builder calls updateShouldNotify callback
|
||||
✅ initialValue is transmitted to valueBuilder
|
||||
✅ calls builder again if dependencies change
|
||||
✅ exposes initialValue if valueBuilder is null
|
||||
✅ call dispose on unmount
|
||||
✅ builder unmount, dispose not called if value never read
|
||||
✅ call dispose after new value
|
||||
✅ valueBuilder works without initialBuilder
|
||||
✅ calls initialValueBuilder lazily once
|
||||
✅ throws if both builder and initialBuilder are missing
|
||||
🟢 hasValue
|
||||
🟢 provider calls update if rebuilding only due to didChangeDependencies
|
||||
🟢 provider notifying dependents doesn't call update
|
||||
🟢 update can call Provider.of with listen:true
|
||||
🟢 update lazy loaded can call Provider.of with listen:true
|
||||
🟢 markNeedsNotifyDependents during startListening is noop
|
||||
🟢 update can obtain parent of the same type than self
|
||||
🟢 _debugCheckInvalidValueType
|
||||
🟢 startListening
|
||||
🟢 startListening called again when create returns new value
|
||||
🟢 stopListening not called twice if rebuild doesn't have listeners
|
||||
🟢 removeListener cannot be null
|
||||
🟢 fails if initialValueBuilder calls inheritFromElement/inheritFromWiggetOfExactType
|
||||
🟢 builder is called on every rebuild and after a dependency change
|
||||
🟢 builder with no updateShouldNotify use ==
|
||||
🟢 builder calls updateShouldNotify callback
|
||||
🟢 initialValue is transmitted to valueBuilder
|
||||
🟢 calls builder again if dependencies change
|
||||
🟢 exposes initialValue if valueBuilder is null
|
||||
🟢 call dispose on unmount
|
||||
🟢 builder unmount, dispose not called if value never read
|
||||
🟢 call dispose after new value
|
||||
🟢 valueBuilder works without initialBuilder
|
||||
🟢 calls initialValueBuilder lazily once
|
||||
🟢 throws if both builder and initialBuilder are missing
|
||||
DeferredInheritedProvider.value()
|
||||
✅ hasValue
|
||||
✅ startListening
|
||||
✅ stopListening cannot be null
|
||||
✅ startListening doesn't need setState if already initialized
|
||||
✅ setState without updateShouldNotify
|
||||
✅ setState with updateShouldNotify
|
||||
✅ startListening never leave the widget uninitialized
|
||||
✅ startListening called again on controller change
|
||||
🟢 hasValue
|
||||
🟢 startListening
|
||||
🟢 stopListening cannot be null
|
||||
🟢 startListening doesn't need setState if already initialized
|
||||
🟢 setState without updateShouldNotify
|
||||
🟢 setState with updateShouldNotify
|
||||
🟢 startListening never leave the widget uninitialized
|
||||
🟢 startListening called again on controller change
|
||||
DeferredInheritedProvider()
|
||||
✅ create can't call inherited widgets
|
||||
✅ creates the value lazily
|
||||
✅ dispose
|
||||
✅ dispose no-op if never built
|
||||
🟢 create can't call inherited widgets
|
||||
🟢 creates the value lazily
|
||||
🟢 dispose
|
||||
🟢 dispose no-op if never built
|
||||
```
|
||||
### ✅ <a id="user-content-r0s6" href="#r0s6">test/listenable_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s6" href="#r0s6">test/listenable_provider_test.dart</a>
|
||||
```
|
||||
ListenableProvider
|
||||
✅ works with MultiProvider
|
||||
✅ asserts that the created notifier can have listeners
|
||||
✅ don't listen again if listenable instance doesn't change
|
||||
✅ works with null (default)
|
||||
✅ works with null (create)
|
||||
✅ stateful create called once
|
||||
✅ dispose called on unmount
|
||||
✅ dispose can be null
|
||||
✅ changing listenable rebuilds descendants
|
||||
✅ rebuilding with the same provider don't rebuilds descendants
|
||||
✅ notifylistener rebuilds descendants
|
||||
🟢 works with MultiProvider
|
||||
🟢 asserts that the created notifier can have listeners
|
||||
🟢 don't listen again if listenable instance doesn't change
|
||||
🟢 works with null (default)
|
||||
🟢 works with null (create)
|
||||
🟢 stateful create called once
|
||||
🟢 dispose called on unmount
|
||||
🟢 dispose can be null
|
||||
🟢 changing listenable rebuilds descendants
|
||||
🟢 rebuilding with the same provider don't rebuilds descendants
|
||||
🟢 notifylistener rebuilds descendants
|
||||
ListenableProvider value constructor
|
||||
✅ pass down key
|
||||
✅ changing the Listenable instance rebuilds dependents
|
||||
🟢 pass down key
|
||||
🟢 changing the Listenable instance rebuilds dependents
|
||||
ListenableProvider stateful constructor
|
||||
✅ called with context
|
||||
✅ pass down key
|
||||
✅ throws if create is null
|
||||
🟢 called with context
|
||||
🟢 pass down key
|
||||
🟢 throws if create is null
|
||||
```
|
||||
### ✅ <a id="user-content-r0s7" href="#r0s7">test/listenable_proxy_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s7" href="#r0s7">test/listenable_proxy_provider_test.dart</a>
|
||||
```
|
||||
ListenableProxyProvider
|
||||
✅ throws if update is missing
|
||||
✅ asserts that the created notifier has no listener
|
||||
✅ asserts that the created notifier has no listener after rebuild
|
||||
✅ rebuilds dependendents when listeners are called
|
||||
✅ update returning a new Listenable disposes the previously created value and update dependents
|
||||
✅ disposes of created value
|
||||
🟢 throws if update is missing
|
||||
🟢 asserts that the created notifier has no listener
|
||||
🟢 asserts that the created notifier has no listener after rebuild
|
||||
🟢 rebuilds dependendents when listeners are called
|
||||
🟢 update returning a new Listenable disposes the previously created value and update dependents
|
||||
🟢 disposes of created value
|
||||
ListenableProxyProvider variants
|
||||
✅ ListenableProxyProvider
|
||||
✅ ListenableProxyProvider2
|
||||
✅ ListenableProxyProvider3
|
||||
✅ ListenableProxyProvider4
|
||||
✅ ListenableProxyProvider5
|
||||
✅ ListenableProxyProvider6
|
||||
🟢 ListenableProxyProvider
|
||||
🟢 ListenableProxyProvider2
|
||||
🟢 ListenableProxyProvider3
|
||||
🟢 ListenableProxyProvider4
|
||||
🟢 ListenableProxyProvider5
|
||||
🟢 ListenableProxyProvider6
|
||||
```
|
||||
### ✅ <a id="user-content-r0s8" href="#r0s8">test/multi_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s8" href="#r0s8">test/multi_provider_test.dart</a>
|
||||
```
|
||||
MultiProvider
|
||||
✅ throw if providers is null
|
||||
✅ MultiProvider children can only access parent providers
|
||||
✅ MultiProvider.providers with ignored child
|
||||
🟢 throw if providers is null
|
||||
🟢 MultiProvider children can only access parent providers
|
||||
🟢 MultiProvider.providers with ignored child
|
||||
```
|
||||
### ✅ <a id="user-content-r0s9" href="#r0s9">test/provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s9" href="#r0s9">test/provider_test.dart</a>
|
||||
```
|
||||
✅ works with MultiProvider
|
||||
🟢 works with MultiProvider
|
||||
Provider.of
|
||||
✅ throws if T is dynamic
|
||||
✅ listen defaults to true when building widgets
|
||||
✅ listen defaults to false outside of the widget tree
|
||||
✅ listen:false doesn't trigger rebuild
|
||||
✅ listen:true outside of the widget tree throws
|
||||
🟢 throws if T is dynamic
|
||||
🟢 listen defaults to true when building widgets
|
||||
🟢 listen defaults to false outside of the widget tree
|
||||
🟢 listen:false doesn't trigger rebuild
|
||||
🟢 listen:true outside of the widget tree throws
|
||||
Provider
|
||||
✅ throws if the provided value is a Listenable/Stream
|
||||
✅ debugCheckInvalidValueType can be disabled
|
||||
✅ simple usage
|
||||
✅ throws an error if no provider found
|
||||
✅ update should notify
|
||||
🟢 throws if the provided value is a Listenable/Stream
|
||||
🟢 debugCheckInvalidValueType can be disabled
|
||||
🟢 simple usage
|
||||
🟢 throws an error if no provider found
|
||||
🟢 update should notify
|
||||
```
|
||||
### ✅ <a id="user-content-r0s10" href="#r0s10">test/proxy_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s10" href="#r0s10">test/proxy_provider_test.dart</a>
|
||||
```
|
||||
ProxyProvider
|
||||
✅ throws if the provided value is a Listenable/Stream
|
||||
✅ debugCheckInvalidValueType can be disabled
|
||||
✅ create creates initial value
|
||||
✅ consume another providers
|
||||
✅ rebuild descendants if value change
|
||||
✅ call dispose when unmounted with the latest result
|
||||
✅ don't rebuild descendants if value doesn't change
|
||||
✅ pass down updateShouldNotify
|
||||
✅ works with MultiProvider
|
||||
✅ update callback can trigger descendants setState synchronously
|
||||
✅ throws if update is null
|
||||
🟢 throws if the provided value is a Listenable/Stream
|
||||
🟢 debugCheckInvalidValueType can be disabled
|
||||
🟢 create creates initial value
|
||||
🟢 consume another providers
|
||||
🟢 rebuild descendants if value change
|
||||
🟢 call dispose when unmounted with the latest result
|
||||
🟢 don't rebuild descendants if value doesn't change
|
||||
🟢 pass down updateShouldNotify
|
||||
🟢 works with MultiProvider
|
||||
🟢 update callback can trigger descendants setState synchronously
|
||||
🟢 throws if update is null
|
||||
ProxyProvider variants
|
||||
✅ ProxyProvider2
|
||||
✅ ProxyProvider3
|
||||
✅ ProxyProvider4
|
||||
✅ ProxyProvider5
|
||||
✅ ProxyProvider6
|
||||
🟢 ProxyProvider2
|
||||
🟢 ProxyProvider3
|
||||
🟢 ProxyProvider4
|
||||
🟢 ProxyProvider5
|
||||
🟢 ProxyProvider6
|
||||
```
|
||||
### ✅ <a id="user-content-r0s11" href="#r0s11">test/reassemble_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s11" href="#r0s11">test/reassemble_test.dart</a>
|
||||
```
|
||||
✅ ReassembleHandler
|
||||
✅ unevaluated create
|
||||
✅ unevaluated create
|
||||
🟢 ReassembleHandler
|
||||
🟢 unevaluated create
|
||||
🟢 unevaluated create
|
||||
```
|
||||
### ✅ <a id="user-content-r0s12" href="#r0s12">test/selector_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s12" href="#r0s12">test/selector_test.dart</a>
|
||||
```
|
||||
✅ asserts that builder/selector are not null
|
||||
✅ Deep compare maps by default
|
||||
✅ Deep compare iterables by default
|
||||
✅ Deep compare sets by default
|
||||
✅ Deep compare lists by default
|
||||
✅ custom shouldRebuid
|
||||
✅ passes `child` and `key`
|
||||
✅ calls builder if the callback changes
|
||||
✅ works with MultiProvider
|
||||
✅ don't call builder again if it rebuilds but selector returns the same thing
|
||||
✅ call builder again if it rebuilds abd selector returns the a different variable
|
||||
✅ Selector
|
||||
✅ Selector2
|
||||
✅ Selector3
|
||||
✅ Selector4
|
||||
✅ Selector5
|
||||
✅ Selector6
|
||||
🟢 asserts that builder/selector are not null
|
||||
🟢 Deep compare maps by default
|
||||
🟢 Deep compare iterables by default
|
||||
🟢 Deep compare sets by default
|
||||
🟢 Deep compare lists by default
|
||||
🟢 custom shouldRebuid
|
||||
🟢 passes `child` and `key`
|
||||
🟢 calls builder if the callback changes
|
||||
🟢 works with MultiProvider
|
||||
🟢 don't call builder again if it rebuilds but selector returns the same thing
|
||||
🟢 call builder again if it rebuilds abd selector returns the a different variable
|
||||
🟢 Selector
|
||||
🟢 Selector2
|
||||
🟢 Selector3
|
||||
🟢 Selector4
|
||||
🟢 Selector5
|
||||
🟢 Selector6
|
||||
```
|
||||
### ✅ <a id="user-content-r0s13" href="#r0s13">test/stateful_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s13" href="#r0s13">test/stateful_provider_test.dart</a>
|
||||
```
|
||||
✅ asserts
|
||||
✅ works with MultiProvider
|
||||
✅ calls create only once
|
||||
✅ dispose
|
||||
🟢 asserts
|
||||
🟢 works with MultiProvider
|
||||
🟢 calls create only once
|
||||
🟢 dispose
|
||||
```
|
||||
### ✅ <a id="user-content-r0s14" href="#r0s14">test/stream_provider_test.dart</a>
|
||||
### 🟢 <a id="user-content-r0s14" href="#r0s14">test/stream_provider_test.dart</a>
|
||||
```
|
||||
✅ works with MultiProvider
|
||||
✅ transition from stream to stream preserve state
|
||||
✅ throws if stream has error and catchError is missing
|
||||
✅ calls catchError if present and stream has error
|
||||
✅ works with null
|
||||
✅ StreamProvider() crashes if builder is null
|
||||
🟢 works with MultiProvider
|
||||
🟢 transition from stream to stream preserve state
|
||||
🟢 throws if stream has error and catchError is missing
|
||||
🟢 calls catchError if present and stream has error
|
||||
🟢 works with null
|
||||
🟢 StreamProvider() crashes if builder is null
|
||||
StreamProvider()
|
||||
✅ create and dispose stream with builder
|
||||
✅ crashes if builder is null
|
||||
🟢 create and dispose stream with builder
|
||||
🟢 crashes if builder is null
|
||||
```
|
||||
### ❌ <a id="user-content-r0s15" href="#r0s15">test/value_listenable_provider_test.dart</a>
|
||||
### 🔴 <a id="user-content-r0s15" href="#r0s15">test/value_listenable_provider_test.dart</a>
|
||||
```
|
||||
valueListenableProvider
|
||||
✅ rebuilds when value change
|
||||
✅ don't rebuild dependents by default
|
||||
✅ pass keys
|
||||
✅ don't listen again if stream instance doesn't change
|
||||
❌ pass updateShouldNotify
|
||||
🟢 rebuilds when value change
|
||||
🟢 don't rebuild dependents by default
|
||||
🟢 pass keys
|
||||
🟢 don't listen again if stream instance doesn't change
|
||||
🔴 pass updateShouldNotify
|
||||
The following TestFailure object was thrown running a test:
|
||||
Expected: <2>
|
||||
Actual: <1>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||

|
||||
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/java/TEST-org.apache.pulsar.AddMissingPatchVersionTest.xml</a>
|
||||
## 🔴 <a id="user-content-r0" href="#r0">fixtures/external/java/TEST-org.apache.pulsar.AddMissingPatchVersionTest.xml</a>
|
||||
**2** tests were completed in **116ms** with **0** passed, **1** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1❌|1⚪|116ms|
|
||||
### ❌ <a id="user-content-r0s0" href="#r0s0">org.apache.pulsar.AddMissingPatchVersionTest</a>
|
||||
|🔴 [org.apache.pulsar.AddMissingPatchVersionTest](#r0s0)||1|1|116ms|
|
||||
### 🔴 <a id="user-content-r0s0" href="#r0s0">org.apache.pulsar.AddMissingPatchVersionTest</a>
|
||||
```
|
||||
⚪ testVersionStrings
|
||||
❌ testVersionStrings
|
||||
🔴 testVersionStrings
|
||||
java.lang.AssertionError: expected [1.2.1] but found [1.2.0]
|
||||
```
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,136 +1,136 @@
|
|||

|
||||
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/SilentNotes.trx</a>
|
||||
## 🟢 <a id="user-content-r0" href="#r0">fixtures/external/SilentNotes.trx</a>
|
||||
**79** tests were completed in **1s** with **67** passed, **0** failed and **12** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageCredentialsTest](#r0s0)|6✅|||30ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest](#r0s1)|2✅||3⚪|101ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest](#r0s2)|4✅||3⚪|166ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest](#r0s3)|2✅|||7ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest](#r0s4)|1✅||3⚪|40ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest](#r0s5)|1✅||3⚪|15ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest](#r0s6)|5✅|||16ms|
|
||||
|[VanillaCloudStorageClientTest.CloudStorageTokenTest](#r0s7)|9✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest](#r0s8)|3✅|||3ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest](#r0s9)|9✅|||12ms|
|
||||
|[VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest](#r0s10)|5✅|||13ms|
|
||||
|[VanillaCloudStorageClientTest.SecureStringExtensionsTest](#r0s11)|7✅|||0ms|
|
||||
|[VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest](#r0s12)|13✅|||43ms|
|
||||
### ✅ <a id="user-content-r0s0" href="#r0s0">VanillaCloudStorageClientTest.CloudStorageCredentialsTest</a>
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageCredentialsTest](#r0s0)|6|||30ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest](#r0s1)|2||3|101ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest](#r0s2)|4||3|166ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest](#r0s3)|2|||7ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest](#r0s4)|1||3|40ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest](#r0s5)|1||3|15ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest](#r0s6)|5|||16ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.CloudStorageTokenTest](#r0s7)|9|||0ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest](#r0s8)|3|||3ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest](#r0s9)|9|||12ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest](#r0s10)|5|||13ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.SecureStringExtensionsTest](#r0s11)|7|||0ms|
|
||||
|🟢 [VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest](#r0s12)|13|||43ms|
|
||||
### 🟢 <a id="user-content-r0s0" href="#r0s0">VanillaCloudStorageClientTest.CloudStorageCredentialsTest</a>
|
||||
```
|
||||
✅ AreEqualWorksWithDifferentPassword
|
||||
✅ AreEqualWorksWithSameContent
|
||||
✅ CorrectlyConvertsSecureStringToString
|
||||
✅ CorrectlyConvertsStringToSecureString
|
||||
✅ ValidateAcceptsValidCredentials
|
||||
✅ ValidateRejectsInvalidCredentials
|
||||
🟢 AreEqualWorksWithDifferentPassword
|
||||
🟢 AreEqualWorksWithSameContent
|
||||
🟢 CorrectlyConvertsSecureStringToString
|
||||
🟢 CorrectlyConvertsStringToSecureString
|
||||
🟢 ValidateAcceptsValidCredentials
|
||||
🟢 ValidateRejectsInvalidCredentials
|
||||
```
|
||||
### ✅ <a id="user-content-r0s1" href="#r0s1">VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s1" href="#r0s1">VanillaCloudStorageClientTest.CloudStorageProviders.DropboxCloudStorageClientTest</a>
|
||||
```
|
||||
✅ FileLifecycleWorks
|
||||
🟢 FileLifecycleWorks
|
||||
⚪ ReallyDoFetchToken
|
||||
⚪ ReallyDoOpenAuthorizationPageInBrowser
|
||||
⚪ ReallyDoRefreshToken
|
||||
✅ ThrowsAccessDeniedExceptionWithInvalidToken
|
||||
🟢 ThrowsAccessDeniedExceptionWithInvalidToken
|
||||
```
|
||||
### ✅ <a id="user-content-r0s2" href="#r0s2">VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s2" href="#r0s2">VanillaCloudStorageClientTest.CloudStorageProviders.FtpCloudStorageClientTest</a>
|
||||
```
|
||||
✅ FileLifecycleWorks
|
||||
✅ SanitizeCredentials_ChangesInvalidPrefix
|
||||
✅ SecureSslConnectionWorks
|
||||
✅ ThrowsWithHttpInsteadOfFtp
|
||||
🟢 FileLifecycleWorks
|
||||
🟢 SanitizeCredentials_ChangesInvalidPrefix
|
||||
🟢 SecureSslConnectionWorks
|
||||
🟢 ThrowsWithHttpInsteadOfFtp
|
||||
⚪ ThrowsWithInvalidPassword
|
||||
⚪ ThrowsWithInvalidUrl
|
||||
⚪ ThrowsWithInvalidUsername
|
||||
```
|
||||
### ✅ <a id="user-content-r0s3" href="#r0s3">VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s3" href="#r0s3">VanillaCloudStorageClientTest.CloudStorageProviders.GmxCloudStorageClientTest</a>
|
||||
```
|
||||
✅ ChoosesCorrectUrlForGmxComEmail
|
||||
✅ ChoosesCorrectUrlForGmxNetEmail
|
||||
🟢 ChoosesCorrectUrlForGmxComEmail
|
||||
🟢 ChoosesCorrectUrlForGmxNetEmail
|
||||
```
|
||||
### ✅ <a id="user-content-r0s4" href="#r0s4">VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s4" href="#r0s4">VanillaCloudStorageClientTest.CloudStorageProviders.GoogleCloudStorageClientTest</a>
|
||||
```
|
||||
✅ FileLifecycleWorks
|
||||
🟢 FileLifecycleWorks
|
||||
⚪ ReallyDoFetchToken
|
||||
⚪ ReallyDoOpenAuthorizationPageInBrowser
|
||||
⚪ ReallyDoRefreshToken
|
||||
```
|
||||
### ✅ <a id="user-content-r0s5" href="#r0s5">VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s5" href="#r0s5">VanillaCloudStorageClientTest.CloudStorageProviders.OnedriveCloudStorageClientTest</a>
|
||||
```
|
||||
✅ FileLifecycleWorks
|
||||
🟢 FileLifecycleWorks
|
||||
⚪ ReallyDoFetchToken
|
||||
⚪ ReallyDoOpenAuthorizationPageInBrowser
|
||||
⚪ ReallyDoRefreshToken
|
||||
```
|
||||
### ✅ <a id="user-content-r0s6" href="#r0s6">VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s6" href="#r0s6">VanillaCloudStorageClientTest.CloudStorageProviders.WebdavCloudStorageClientTest</a>
|
||||
```
|
||||
✅ FileLifecycleWorks
|
||||
✅ ParseGmxWebdavResponseCorrectly
|
||||
✅ ParseStratoWebdavResponseCorrectly
|
||||
✅ ThrowsWithInvalidPath
|
||||
✅ ThrowsWithInvalidUsername
|
||||
🟢 FileLifecycleWorks
|
||||
🟢 ParseGmxWebdavResponseCorrectly
|
||||
🟢 ParseStratoWebdavResponseCorrectly
|
||||
🟢 ThrowsWithInvalidPath
|
||||
🟢 ThrowsWithInvalidUsername
|
||||
```
|
||||
### ✅ <a id="user-content-r0s7" href="#r0s7">VanillaCloudStorageClientTest.CloudStorageTokenTest</a>
|
||||
### 🟢 <a id="user-content-r0s7" href="#r0s7">VanillaCloudStorageClientTest.CloudStorageTokenTest</a>
|
||||
```
|
||||
✅ AreEqualWorksWithNullDate
|
||||
✅ AreEqualWorksWithSameContent
|
||||
✅ NeedsRefreshReturnsFalseForTokenFlow
|
||||
✅ NeedsRefreshReturnsFalseIfNotExpired
|
||||
✅ NeedsRefreshReturnsTrueIfExpired
|
||||
✅ NeedsRefreshReturnsTrueIfNoExpirationDate
|
||||
✅ SetExpiryDateBySecondsWorks
|
||||
✅ SetExpiryDateBySecondsWorksWithNull
|
||||
✅ SetExpiryDateBySecondsWorksWithVeryShortPeriod
|
||||
🟢 AreEqualWorksWithNullDate
|
||||
🟢 AreEqualWorksWithSameContent
|
||||
🟢 NeedsRefreshReturnsFalseForTokenFlow
|
||||
🟢 NeedsRefreshReturnsFalseIfNotExpired
|
||||
🟢 NeedsRefreshReturnsTrueIfExpired
|
||||
🟢 NeedsRefreshReturnsTrueIfNoExpirationDate
|
||||
🟢 SetExpiryDateBySecondsWorks
|
||||
🟢 SetExpiryDateBySecondsWorksWithNull
|
||||
🟢 SetExpiryDateBySecondsWorksWithVeryShortPeriod
|
||||
```
|
||||
### ✅ <a id="user-content-r0s8" href="#r0s8">VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest</a>
|
||||
### 🟢 <a id="user-content-r0s8" href="#r0s8">VanillaCloudStorageClientTest.OAuth2.AuthorizationResponseErrorTest</a>
|
||||
```
|
||||
✅ ParsesAllErrorCodesCorrectly
|
||||
✅ ParsesNullErrorCodeCorrectly
|
||||
✅ ParsesUnknownErrorCodeCorrectly
|
||||
🟢 ParsesAllErrorCodesCorrectly
|
||||
🟢 ParsesNullErrorCodeCorrectly
|
||||
🟢 ParsesUnknownErrorCodeCorrectly
|
||||
```
|
||||
### ✅ <a id="user-content-r0s9" href="#r0s9">VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest</a>
|
||||
### 🟢 <a id="user-content-r0s9" href="#r0s9">VanillaCloudStorageClientTest.OAuth2.OAuth2UtilsTest</a>
|
||||
```
|
||||
✅ BuildAuthorizationRequestUrlEscapesParameters
|
||||
✅ BuildAuthorizationRequestUrlLeavesOutOptionalParameters
|
||||
✅ BuildAuthorizationRequestUrlThrowsWithMissingRedirectUrlForTokenFlow
|
||||
✅ BuildAuthorizationRequestUrlUsesAllParameters
|
||||
✅ BuildAuthorizationRequestUrlUsesCodeVerifier
|
||||
✅ ParseRealWorldDropboxRejectResponse
|
||||
✅ ParseRealWorldDropboxSuccessResponse
|
||||
✅ ParseRealWorldGoogleRejectResponse
|
||||
✅ ParseRealWorldGoogleSuccessResponse
|
||||
🟢 BuildAuthorizationRequestUrlEscapesParameters
|
||||
🟢 BuildAuthorizationRequestUrlLeavesOutOptionalParameters
|
||||
🟢 BuildAuthorizationRequestUrlThrowsWithMissingRedirectUrlForTokenFlow
|
||||
🟢 BuildAuthorizationRequestUrlUsesAllParameters
|
||||
🟢 BuildAuthorizationRequestUrlUsesCodeVerifier
|
||||
🟢 ParseRealWorldDropboxRejectResponse
|
||||
🟢 ParseRealWorldDropboxSuccessResponse
|
||||
🟢 ParseRealWorldGoogleRejectResponse
|
||||
🟢 ParseRealWorldGoogleSuccessResponse
|
||||
```
|
||||
### ✅ <a id="user-content-r0s10" href="#r0s10">VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest</a>
|
||||
### 🟢 <a id="user-content-r0s10" href="#r0s10">VanillaCloudStorageClientTest.OAuth2CloudStorageClientTest</a>
|
||||
```
|
||||
✅ BuildOAuth2AuthorizationRequestUrlWorks
|
||||
✅ FetchTokenCanInterpretGoogleResponse
|
||||
✅ FetchTokenReturnsNullForDeniedAccess
|
||||
✅ FetchTokenThrowsWithWrongState
|
||||
✅ RefreshTokenCanInterpretGoogleResponse
|
||||
🟢 BuildOAuth2AuthorizationRequestUrlWorks
|
||||
🟢 FetchTokenCanInterpretGoogleResponse
|
||||
🟢 FetchTokenReturnsNullForDeniedAccess
|
||||
🟢 FetchTokenThrowsWithWrongState
|
||||
🟢 RefreshTokenCanInterpretGoogleResponse
|
||||
```
|
||||
### ✅ <a id="user-content-r0s11" href="#r0s11">VanillaCloudStorageClientTest.SecureStringExtensionsTest</a>
|
||||
### 🟢 <a id="user-content-r0s11" href="#r0s11">VanillaCloudStorageClientTest.SecureStringExtensionsTest</a>
|
||||
```
|
||||
✅ AreEqualsWorksCorrectly
|
||||
✅ CorrectlyConvertsSecureStringToString
|
||||
✅ CorrectlyConvertsSecureStringToUnicodeBytes
|
||||
✅ CorrectlyConvertsSecureStringToUtf8Bytes
|
||||
✅ CorrectlyConvertsStringToSecureString
|
||||
✅ CorrectlyConvertsUnicodeBytesToSecureString
|
||||
✅ CorrectlyConvertsUtf8BytesToSecureString
|
||||
🟢 AreEqualsWorksCorrectly
|
||||
🟢 CorrectlyConvertsSecureStringToString
|
||||
🟢 CorrectlyConvertsSecureStringToUnicodeBytes
|
||||
🟢 CorrectlyConvertsSecureStringToUtf8Bytes
|
||||
🟢 CorrectlyConvertsStringToSecureString
|
||||
🟢 CorrectlyConvertsUnicodeBytesToSecureString
|
||||
🟢 CorrectlyConvertsUtf8BytesToSecureString
|
||||
```
|
||||
### ✅ <a id="user-content-r0s12" href="#r0s12">VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest</a>
|
||||
### 🟢 <a id="user-content-r0s12" href="#r0s12">VanillaCloudStorageClientTest.SerializeableCloudStorageCredentialsTest</a>
|
||||
```
|
||||
✅ DecryptAfterDesrializationCanReadAllPropertiesBack
|
||||
✅ DecryptAfterDesrializationRespectsNullProperties
|
||||
✅ EncryptBeforeSerializationProtectsAllNecessaryProperties
|
||||
✅ EncryptBeforeSerializationRespectsNullProperties
|
||||
✅ SerializedDatacontractCanBeReadBack
|
||||
✅ SerializedDatacontractDoesNotContainNullProperties
|
||||
✅ SerializedDatacontractDoesNotContainPlaintextData
|
||||
✅ SerializedJsonCanBeReadBack
|
||||
✅ SerializedJsonDoesNotContainNullProperties
|
||||
✅ SerializedJsonDoesNotContainPlaintextData
|
||||
✅ SerializedXmlCanBeReadBack
|
||||
✅ SerializedXmlDoesNotContainNullProperties
|
||||
✅ SerializedXmlDoesNotContainPlaintextData
|
||||
🟢 DecryptAfterDesrializationCanReadAllPropertiesBack
|
||||
🟢 DecryptAfterDesrializationRespectsNullProperties
|
||||
🟢 EncryptBeforeSerializationProtectsAllNecessaryProperties
|
||||
🟢 EncryptBeforeSerializationRespectsNullProperties
|
||||
🟢 SerializedDatacontractCanBeReadBack
|
||||
🟢 SerializedDatacontractDoesNotContainNullProperties
|
||||
🟢 SerializedDatacontractDoesNotContainPlaintextData
|
||||
🟢 SerializedJsonCanBeReadBack
|
||||
🟢 SerializedJsonDoesNotContainNullProperties
|
||||
🟢 SerializedJsonDoesNotContainPlaintextData
|
||||
🟢 SerializedXmlCanBeReadBack
|
||||
🟢 SerializedXmlDoesNotContainNullProperties
|
||||
🟢 SerializedXmlDoesNotContainPlaintextData
|
||||
```
|
||||
|
|
@ -3,12 +3,12 @@
|
|||
exports[`dart-json tests matches report snapshot 1`] = `
|
||||
TestRunResult {
|
||||
"path": "fixtures/dart-json.json",
|
||||
"suites": Array [
|
||||
"suites": [
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "Test 1",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Passing test",
|
||||
|
|
@ -19,11 +19,11 @@ TestRunResult {
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "Test 1 Test 1.1",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"error": {
|
||||
"details": "package:test_api expect
|
||||
test\\\\main_test.dart 13:9 main.<fn>.<fn>.<fn>
|
||||
test\\main_test.dart 13:9 main.<fn>.<fn>.<fn>
|
||||
",
|
||||
"line": 13,
|
||||
"message": "Expected: <2>
|
||||
|
|
@ -36,9 +36,9 @@ test\\\\main_test.dart 13:9 main.<fn>.<fn>.<fn>
|
|||
"time": 20,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"error": {
|
||||
"details": "package:darttest/main.dart 2:3 throwError
|
||||
test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
|
||||
test\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
|
||||
",
|
||||
"line": 17,
|
||||
"message": "Exception: Some error",
|
||||
|
|
@ -52,10 +52,10 @@ test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "Test 2",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"details": "test\\\\main_test.dart 24:7 main.<fn>.<fn>
|
||||
"error": {
|
||||
"details": "test\\main_test.dart 24:7 main.<fn>.<fn>
|
||||
",
|
||||
"line": 24,
|
||||
"message": "Exception: Some error",
|
||||
|
|
@ -72,12 +72,12 @@ test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": null,
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"error": {
|
||||
"details": "dart:isolate _RawReceivePortImpl._handleMessage
|
||||
",
|
||||
"line": 5,
|
||||
|
|
@ -108,12 +108,12 @@ test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
|
|||
exports[`dart-json tests report from rrousselGit/provider test results matches snapshot 1`] = `
|
||||
TestRunResult {
|
||||
"path": "fixtures/external/flutter/provider-test-results.json",
|
||||
"suites": Array [
|
||||
"suites": [
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "valueListenableProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "rebuilds when value change",
|
||||
|
|
@ -139,7 +139,7 @@ TestRunResult {
|
|||
"time": 22,
|
||||
},
|
||||
TestCaseResult {
|
||||
"error": Object {
|
||||
"error": {
|
||||
"details": "══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
|
||||
The following TestFailure object was thrown running a test:
|
||||
Expected: <2>
|
||||
|
|
@ -178,10 +178,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "ListenableProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "works with MultiProvider",
|
||||
|
|
@ -252,7 +252,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ListenableProvider value constructor",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "pass down key",
|
||||
|
|
@ -269,7 +269,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ListenableProvider stateful constructor",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "called with context",
|
||||
|
|
@ -295,10 +295,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "consumer",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -321,7 +321,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "consumer2",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -344,7 +344,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "consumer3",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -367,7 +367,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "consumer4",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -390,7 +390,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "consumer5",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -413,7 +413,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "consumer6",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "obtains value from Provider<T>",
|
||||
|
|
@ -439,10 +439,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "Use builder property, not child",
|
||||
|
|
@ -453,7 +453,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ChangeNotifierProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "value",
|
||||
|
|
@ -515,10 +515,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "ChangeNotifierProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "default",
|
||||
|
|
@ -535,7 +535,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ListenableProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "default",
|
||||
|
|
@ -552,7 +552,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "Provider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "default",
|
||||
|
|
@ -569,7 +569,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ProxyProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "0",
|
||||
|
|
@ -616,7 +616,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "MultiProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "with 1 ChangeNotifierProvider default",
|
||||
|
|
@ -690,10 +690,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "MultiProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "throw if providers is null",
|
||||
|
|
@ -719,10 +719,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "works with MultiProvider",
|
||||
|
|
@ -763,7 +763,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "StreamProvider()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "create and dispose stream with builder",
|
||||
|
|
@ -783,10 +783,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "watch in layoutbuilder",
|
||||
|
|
@ -827,7 +827,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "BuildContext",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "internal selected value is updated",
|
||||
|
|
@ -985,10 +985,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ReassembleHandler",
|
||||
|
|
@ -1014,10 +1014,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "works with MultiProvider",
|
||||
|
|
@ -1076,7 +1076,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "FutureProvider()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "crashes if builder is null",
|
||||
|
|
@ -1090,10 +1090,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "works with MultiProvider",
|
||||
|
|
@ -1104,7 +1104,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "Provider.of",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "throws if T is dynamic",
|
||||
|
|
@ -1139,7 +1139,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "Provider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "throws if the provided value is a Listenable/Stream",
|
||||
|
|
@ -1177,10 +1177,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "regression test #377",
|
||||
|
|
@ -1371,7 +1371,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "diagnostics",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "InheritedProvider.value",
|
||||
|
|
@ -1406,7 +1406,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "InheritedProvider.value()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "markNeedsNotifyDependents during startListening is noop",
|
||||
|
|
@ -1459,7 +1459,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "InheritedProvider()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "hasValue",
|
||||
|
|
@ -1614,7 +1614,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "DeferredInheritedProvider.value()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "hasValue",
|
||||
|
|
@ -1667,7 +1667,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "DeferredInheritedProvider()",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "create can't call inherited widgets",
|
||||
|
|
@ -1699,10 +1699,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "ListenableProxyProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "throws if update is missing",
|
||||
|
|
@ -1743,7 +1743,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ListenableProxyProvider variants",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ListenableProxyProvider",
|
||||
|
|
@ -1787,10 +1787,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "asserts that builder/selector are not null",
|
||||
|
|
@ -1900,10 +1900,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "asserts",
|
||||
|
|
@ -1935,10 +1935,10 @@ Unexpected number of calls
|
|||
"totalTime": undefined,
|
||||
},
|
||||
TestSuiteResult {
|
||||
"groups": Array [
|
||||
"groups": [
|
||||
TestGroupResult {
|
||||
"name": "ProxyProvider",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "throws if the provided value is a Listenable/Stream",
|
||||
|
|
@ -2009,7 +2009,7 @@ Unexpected number of calls
|
|||
},
|
||||
TestGroupResult {
|
||||
"name": "ProxyProvider variants",
|
||||
"tests": Array [
|
||||
"tests": [
|
||||
TestCaseResult {
|
||||
"error": undefined,
|
||||
"name": "ProxyProvider2",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
303
dist/index.js
generated
vendored
303
dist/index.js
generated
vendored
|
|
@ -179,13 +179,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||
});
|
||||
};
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.LocalFileProvider = void 0;
|
||||
const fs = __importStar(__nccwpck_require__(7147));
|
||||
const fast_glob_1 = __importDefault(__nccwpck_require__(3664));
|
||||
const fast_glob_1 = __nccwpck_require__(3664);
|
||||
const git_1 = __nccwpck_require__(9844);
|
||||
class LocalFileProvider {
|
||||
constructor(name, pattern) {
|
||||
|
|
@ -196,7 +193,7 @@ class LocalFileProvider {
|
|||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const result = [];
|
||||
for (const pat of this.pattern) {
|
||||
const paths = yield (0, fast_glob_1.default)(pat, { dot: true });
|
||||
const paths = yield (0, fast_glob_1.glob)(pat, { dot: true });
|
||||
for (const file of paths) {
|
||||
const content = yield fs.promises.readFile(file, { encoding: 'utf8' });
|
||||
result.push({ file, content });
|
||||
|
|
@ -2169,10 +2166,10 @@ var Align;
|
|||
Align["Center"] = ":---:";
|
||||
Align["Right"] = "---:";
|
||||
Align["None"] = "---";
|
||||
})(Align = exports.Align || (exports.Align = {}));
|
||||
})(Align || (exports.Align = Align = {}));
|
||||
exports.Icon = {
|
||||
skip: '⚪',
|
||||
success: '🟢',
|
||||
skip: '⚪', // ':heavy_multiplication_x:'
|
||||
success: '🟢', // ':heavy_check_mark:'
|
||||
fail: '🔴' // ':x:'
|
||||
};
|
||||
function link(title, address) {
|
||||
|
|
@ -14727,7 +14724,6 @@ module.exports = function globParent(str, opts) {
|
|||
"use strict";
|
||||
|
||||
const taskManager = __nccwpck_require__(2708);
|
||||
const patternManager = __nccwpck_require__(8306);
|
||||
const async_1 = __nccwpck_require__(5679);
|
||||
const stream_1 = __nccwpck_require__(4630);
|
||||
const sync_1 = __nccwpck_require__(2405);
|
||||
|
|
@ -14742,6 +14738,10 @@ async function FastGlob(source, options) {
|
|||
// https://github.com/typescript-eslint/typescript-eslint/issues/60
|
||||
// eslint-disable-next-line no-redeclare
|
||||
(function (FastGlob) {
|
||||
FastGlob.glob = FastGlob;
|
||||
FastGlob.globSync = sync;
|
||||
FastGlob.globStream = stream;
|
||||
FastGlob.async = FastGlob;
|
||||
function sync(source, options) {
|
||||
assertPatternsInput(source);
|
||||
const works = getWorks(source, sync_1.default, options);
|
||||
|
|
@ -14761,7 +14761,7 @@ async function FastGlob(source, options) {
|
|||
FastGlob.stream = stream;
|
||||
function generateTasks(source, options) {
|
||||
assertPatternsInput(source);
|
||||
const patterns = patternManager.transform([].concat(source));
|
||||
const patterns = [].concat(source);
|
||||
const settings = new settings_1.default(options);
|
||||
return taskManager.generate(patterns, settings);
|
||||
}
|
||||
|
|
@ -14777,9 +14777,40 @@ async function FastGlob(source, options) {
|
|||
return utils.path.escape(source);
|
||||
}
|
||||
FastGlob.escapePath = escapePath;
|
||||
function convertPathToPattern(source) {
|
||||
assertPatternsInput(source);
|
||||
return utils.path.convertPathToPattern(source);
|
||||
}
|
||||
FastGlob.convertPathToPattern = convertPathToPattern;
|
||||
let posix;
|
||||
(function (posix) {
|
||||
function escapePath(source) {
|
||||
assertPatternsInput(source);
|
||||
return utils.path.escapePosixPath(source);
|
||||
}
|
||||
posix.escapePath = escapePath;
|
||||
function convertPathToPattern(source) {
|
||||
assertPatternsInput(source);
|
||||
return utils.path.convertPosixPathToPattern(source);
|
||||
}
|
||||
posix.convertPathToPattern = convertPathToPattern;
|
||||
})(posix = FastGlob.posix || (FastGlob.posix = {}));
|
||||
let win32;
|
||||
(function (win32) {
|
||||
function escapePath(source) {
|
||||
assertPatternsInput(source);
|
||||
return utils.path.escapeWindowsPath(source);
|
||||
}
|
||||
win32.escapePath = escapePath;
|
||||
function convertPathToPattern(source) {
|
||||
assertPatternsInput(source);
|
||||
return utils.path.convertWindowsPathToPattern(source);
|
||||
}
|
||||
win32.convertPathToPattern = convertPathToPattern;
|
||||
})(win32 = FastGlob.win32 || (FastGlob.win32 = {}));
|
||||
})(FastGlob || (FastGlob = {}));
|
||||
function getWorks(source, _Provider, options) {
|
||||
const patterns = patternManager.transform([].concat(source));
|
||||
const patterns = [].concat(source);
|
||||
const settings = new settings_1.default(options);
|
||||
const tasks = taskManager.generate(patterns, settings);
|
||||
const provider = new _Provider(settings);
|
||||
|
|
@ -14795,35 +14826,6 @@ function assertPatternsInput(input) {
|
|||
module.exports = FastGlob;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 8306:
|
||||
/***/ ((__unused_webpack_module, exports) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.removeDuplicateSlashes = exports.transform = void 0;
|
||||
/**
|
||||
* Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.
|
||||
* The latter is due to the presence of the device path at the beginning of the UNC path.
|
||||
* @todo rewrite to negative lookbehind with the next major release.
|
||||
*/
|
||||
const DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
|
||||
function transform(patterns) {
|
||||
return patterns.map((pattern) => removeDuplicateSlashes(pattern));
|
||||
}
|
||||
exports.transform = transform;
|
||||
/**
|
||||
* This package only works with forward slashes as a path separator.
|
||||
* Because of this, we cannot use the standard `path.normalize` method, because on Windows platform it will use of backslashes.
|
||||
*/
|
||||
function removeDuplicateSlashes(pattern) {
|
||||
return pattern.replace(DOUBLE_SLASH_RE, '/');
|
||||
}
|
||||
exports.removeDuplicateSlashes = removeDuplicateSlashes;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 2708:
|
||||
|
|
@ -14834,9 +14836,11 @@ exports.removeDuplicateSlashes = removeDuplicateSlashes;
|
|||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
||||
const utils = __nccwpck_require__(5444);
|
||||
function generate(patterns, settings) {
|
||||
function generate(input, settings) {
|
||||
const patterns = processPatterns(input, settings);
|
||||
const ignore = processPatterns(settings.ignore, settings);
|
||||
const positivePatterns = getPositivePatterns(patterns);
|
||||
const negativePatterns = getNegativePatternsAsPositive(patterns, settings.ignore);
|
||||
const negativePatterns = getNegativePatternsAsPositive(patterns, ignore);
|
||||
const staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings));
|
||||
const dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings));
|
||||
const staticTasks = convertPatternsToTasks(staticPatterns, negativePatterns, /* dynamic */ false);
|
||||
|
|
@ -14844,6 +14848,34 @@ function generate(patterns, settings) {
|
|||
return staticTasks.concat(dynamicTasks);
|
||||
}
|
||||
exports.generate = generate;
|
||||
function processPatterns(input, settings) {
|
||||
let patterns = input;
|
||||
/**
|
||||
* The original pattern like `{,*,**,a/*}` can lead to problems checking the depth when matching entry
|
||||
* and some problems with the micromatch package (see fast-glob issues: #365, #394).
|
||||
*
|
||||
* To solve this problem, we expand all patterns containing brace expansion. This can lead to a slight slowdown
|
||||
* in matching in the case of a large set of patterns after expansion.
|
||||
*/
|
||||
if (settings.braceExpansion) {
|
||||
patterns = utils.pattern.expandPatternsWithBraceExpansion(patterns);
|
||||
}
|
||||
/**
|
||||
* If the `baseNameMatch` option is enabled, we must add globstar to patterns, so that they can be used
|
||||
* at any nesting level.
|
||||
*
|
||||
* We do this here, because otherwise we have to complicate the filtering logic. For example, we need to change
|
||||
* the pattern in the filter before creating a regular expression. There is no need to change the patterns
|
||||
* in the application. Only on the input.
|
||||
*/
|
||||
if (settings.baseNameMatch) {
|
||||
patterns = patterns.map((pattern) => pattern.includes('/') ? pattern : `**/${pattern}`);
|
||||
}
|
||||
/**
|
||||
* This method also removes duplicate slashes that may have been in the pattern or formed as a result of expansion.
|
||||
*/
|
||||
return patterns.map((pattern) => utils.pattern.removeDuplicateSlashes(pattern));
|
||||
}
|
||||
/**
|
||||
* Returns tasks grouped by basic pattern directories.
|
||||
*
|
||||
|
|
@ -14920,23 +14952,18 @@ exports.convertPatternGroupToTask = convertPatternGroupToTask;
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
const stream_1 = __nccwpck_require__(2083);
|
||||
const async_1 = __nccwpck_require__(7747);
|
||||
const provider_1 = __nccwpck_require__(257);
|
||||
class ProviderAsync extends provider_1.default {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this._reader = new stream_1.default(this._settings);
|
||||
this._reader = new async_1.default(this._settings);
|
||||
}
|
||||
read(task) {
|
||||
async read(task) {
|
||||
const root = this._getRootDirectory(task);
|
||||
const options = this._getReaderOptions(task);
|
||||
const entries = [];
|
||||
return new Promise((resolve, reject) => {
|
||||
const stream = this.api(root, task, options);
|
||||
stream.once('error', reject);
|
||||
stream.on('data', (entry) => entries.push(options.transform(entry)));
|
||||
stream.once('end', () => resolve(entries));
|
||||
});
|
||||
const entries = await this.api(root, task, options);
|
||||
return entries.map((entry) => options.transform(entry));
|
||||
}
|
||||
api(root, task, options) {
|
||||
if (task.dynamic) {
|
||||
|
|
@ -15035,31 +15062,32 @@ class EntryFilter {
|
|||
}
|
||||
getFilter(positive, negative) {
|
||||
const positiveRe = utils.pattern.convertPatternsToRe(positive, this._micromatchOptions);
|
||||
const negativeRe = utils.pattern.convertPatternsToRe(negative, this._micromatchOptions);
|
||||
const negativeRe = utils.pattern.convertPatternsToRe(negative, Object.assign(Object.assign({}, this._micromatchOptions), { dot: true }));
|
||||
return (entry) => this._filter(entry, positiveRe, negativeRe);
|
||||
}
|
||||
_filter(entry, positiveRe, negativeRe) {
|
||||
if (this._settings.unique && this._isDuplicateEntry(entry)) {
|
||||
const filepath = utils.path.removeLeadingDotSegment(entry.path);
|
||||
if (this._settings.unique && this._isDuplicateEntry(filepath)) {
|
||||
return false;
|
||||
}
|
||||
if (this._onlyFileFilter(entry) || this._onlyDirectoryFilter(entry)) {
|
||||
return false;
|
||||
}
|
||||
if (this._isSkippedByAbsoluteNegativePatterns(entry.path, negativeRe)) {
|
||||
if (this._isSkippedByAbsoluteNegativePatterns(filepath, negativeRe)) {
|
||||
return false;
|
||||
}
|
||||
const filepath = this._settings.baseNameMatch ? entry.name : entry.path;
|
||||
const isMatched = this._isMatchToPatterns(filepath, positiveRe) && !this._isMatchToPatterns(entry.path, negativeRe);
|
||||
const isDirectory = entry.dirent.isDirectory();
|
||||
const isMatched = this._isMatchToPatterns(filepath, positiveRe, isDirectory) && !this._isMatchToPatterns(filepath, negativeRe, isDirectory);
|
||||
if (this._settings.unique && isMatched) {
|
||||
this._createIndexRecord(entry);
|
||||
this._createIndexRecord(filepath);
|
||||
}
|
||||
return isMatched;
|
||||
}
|
||||
_isDuplicateEntry(entry) {
|
||||
return this.index.has(entry.path);
|
||||
_isDuplicateEntry(filepath) {
|
||||
return this.index.has(filepath);
|
||||
}
|
||||
_createIndexRecord(entry) {
|
||||
this.index.set(entry.path, undefined);
|
||||
_createIndexRecord(filepath) {
|
||||
this.index.set(filepath, undefined);
|
||||
}
|
||||
_onlyFileFilter(entry) {
|
||||
return this._settings.onlyFiles && !entry.dirent.isFile();
|
||||
|
|
@ -15074,13 +15102,15 @@ class EntryFilter {
|
|||
const fullpath = utils.path.makeAbsolute(this._settings.cwd, entryPath);
|
||||
return utils.pattern.matchAny(fullpath, patternsRe);
|
||||
}
|
||||
/**
|
||||
* First, just trying to apply patterns to the path.
|
||||
* Second, trying to apply patterns to the path with final slash.
|
||||
*/
|
||||
_isMatchToPatterns(entryPath, patternsRe) {
|
||||
const filepath = utils.path.removeLeadingDotSegment(entryPath);
|
||||
return utils.pattern.matchAny(filepath, patternsRe) || utils.pattern.matchAny(filepath + '/', patternsRe);
|
||||
_isMatchToPatterns(filepath, patternsRe, isDirectory) {
|
||||
// Trying to match files and directories by patterns.
|
||||
const isMatched = utils.pattern.matchAny(filepath, patternsRe);
|
||||
// A pattern with a trailling slash can be used for directory matching.
|
||||
// To apply such pattern, we need to add a tralling slash to the path.
|
||||
if (!isMatched && isDirectory) {
|
||||
return utils.pattern.matchAny(filepath + '/', patternsRe);
|
||||
}
|
||||
return isMatched;
|
||||
}
|
||||
}
|
||||
exports["default"] = EntryFilter;
|
||||
|
|
@ -15127,12 +15157,7 @@ class Matcher {
|
|||
this._fillStorage();
|
||||
}
|
||||
_fillStorage() {
|
||||
/**
|
||||
* The original pattern may include `{,*,**,a/*}`, which will lead to problems with matching (unresolved level).
|
||||
* So, before expand patterns with brace expansion into separated patterns.
|
||||
*/
|
||||
const patterns = utils.pattern.expandPatternsWithBraceExpansion(this._patterns);
|
||||
for (const pattern of patterns) {
|
||||
for (const pattern of this._patterns) {
|
||||
const segments = this._getPatternSegments(pattern);
|
||||
const sections = this._splitSegmentsIntoSections(segments);
|
||||
this._storage.push({
|
||||
|
|
@ -15373,6 +15398,49 @@ class EntryTransformer {
|
|||
exports["default"] = EntryTransformer;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 7747:
|
||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
||||
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
const fsWalk = __nccwpck_require__(6026);
|
||||
const reader_1 = __nccwpck_require__(5582);
|
||||
const stream_1 = __nccwpck_require__(2083);
|
||||
class ReaderAsync extends reader_1.default {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this._walkAsync = fsWalk.walk;
|
||||
this._readerStream = new stream_1.default(this._settings);
|
||||
}
|
||||
dynamic(root, options) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this._walkAsync(root, options, (error, entries) => {
|
||||
if (error === null) {
|
||||
resolve(entries);
|
||||
}
|
||||
else {
|
||||
reject(error);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
async static(patterns, options) {
|
||||
const entries = [];
|
||||
const stream = this._readerStream.static(patterns, options);
|
||||
// After #235, replace it with an asynchronous iterator.
|
||||
return new Promise((resolve, reject) => {
|
||||
stream.once('error', reject);
|
||||
stream.on('data', (entry) => entries.push(entry));
|
||||
stream.once('end', () => resolve(entries));
|
||||
});
|
||||
}
|
||||
}
|
||||
exports["default"] = ReaderAsync;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 5582:
|
||||
|
|
@ -15582,6 +15650,8 @@ class Settings {
|
|||
if (this.stats) {
|
||||
this.objectMode = true;
|
||||
}
|
||||
// Remove the cast to the array in the next major (#404).
|
||||
this.ignore = [].concat(this.ignore);
|
||||
}
|
||||
_getValue(option, value) {
|
||||
return option === undefined ? value : option;
|
||||
|
|
@ -15698,10 +15768,29 @@ exports.string = string;
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.removeLeadingDotSegment = exports.escape = exports.makeAbsolute = exports.unixify = void 0;
|
||||
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
||||
const os = __nccwpck_require__(2037);
|
||||
const path = __nccwpck_require__(1017);
|
||||
const IS_WINDOWS_PLATFORM = os.platform() === 'win32';
|
||||
const LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2; // ./ or .\\
|
||||
const UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;
|
||||
/**
|
||||
* All non-escaped special characters.
|
||||
* Posix: ()*?[]{|}, !+@ before (, ! at the beginning, \\ before non-special characters.
|
||||
* Windows: (){}[], !+@ before (, ! at the beginning.
|
||||
*/
|
||||
const POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
|
||||
const WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g;
|
||||
/**
|
||||
* The device path (\\.\ or \\?\).
|
||||
* https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#dos-device-paths
|
||||
*/
|
||||
const DOS_DEVICE_PATH_RE = /^\\\\([.?])/;
|
||||
/**
|
||||
* All backslashes except those escaping special characters.
|
||||
* Windows: !()+@{}
|
||||
* https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions
|
||||
*/
|
||||
const WINDOWS_BACKSLASHES_RE = /\\(?![!()+@[\]{}])/g;
|
||||
/**
|
||||
* Designed to work only with simple paths: `dir\\file`.
|
||||
*/
|
||||
|
|
@ -15713,10 +15802,6 @@ function makeAbsolute(cwd, filepath) {
|
|||
return path.resolve(cwd, filepath);
|
||||
}
|
||||
exports.makeAbsolute = makeAbsolute;
|
||||
function escape(pattern) {
|
||||
return pattern.replace(UNESCAPED_GLOB_SYMBOLS_RE, '\\$2');
|
||||
}
|
||||
exports.escape = escape;
|
||||
function removeLeadingDotSegment(entry) {
|
||||
// We do not use `startsWith` because this is 10x slower than current implementation for some cases.
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with
|
||||
|
|
@ -15729,6 +15814,26 @@ function removeLeadingDotSegment(entry) {
|
|||
return entry;
|
||||
}
|
||||
exports.removeLeadingDotSegment = removeLeadingDotSegment;
|
||||
exports.escape = IS_WINDOWS_PLATFORM ? escapeWindowsPath : escapePosixPath;
|
||||
function escapeWindowsPath(pattern) {
|
||||
return pattern.replace(WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE, '\\$2');
|
||||
}
|
||||
exports.escapeWindowsPath = escapeWindowsPath;
|
||||
function escapePosixPath(pattern) {
|
||||
return pattern.replace(POSIX_UNESCAPED_GLOB_SYMBOLS_RE, '\\$2');
|
||||
}
|
||||
exports.escapePosixPath = escapePosixPath;
|
||||
exports.convertPathToPattern = IS_WINDOWS_PLATFORM ? convertWindowsPathToPattern : convertPosixPathToPattern;
|
||||
function convertWindowsPathToPattern(filepath) {
|
||||
return escapeWindowsPath(filepath)
|
||||
.replace(DOS_DEVICE_PATH_RE, '//$1')
|
||||
.replace(WINDOWS_BACKSLASHES_RE, '/');
|
||||
}
|
||||
exports.convertWindowsPathToPattern = convertWindowsPathToPattern;
|
||||
function convertPosixPathToPattern(filepath) {
|
||||
return escapePosixPath(filepath);
|
||||
}
|
||||
exports.convertPosixPathToPattern = convertPosixPathToPattern;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
@ -15739,7 +15844,7 @@ exports.removeLeadingDotSegment = removeLeadingDotSegment;
|
|||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
||||
exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
||||
const path = __nccwpck_require__(1017);
|
||||
const globParent = __nccwpck_require__(4460);
|
||||
const micromatch = __nccwpck_require__(6228);
|
||||
|
|
@ -15750,6 +15855,11 @@ const REGEX_CHARACTER_CLASS_SYMBOLS_RE = /\[[^[]*]/;
|
|||
const REGEX_GROUP_SYMBOLS_RE = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/;
|
||||
const GLOB_EXTENSION_SYMBOLS_RE = /[!*+?@]\([^(]*\)/;
|
||||
const BRACE_EXPANSION_SEPARATORS_RE = /,|\.\./;
|
||||
/**
|
||||
* Matches a sequence of two or more consecutive slashes, excluding the first two slashes at the beginning of the string.
|
||||
* The latter is due to the presence of the device path at the beginning of the UNC path.
|
||||
*/
|
||||
const DOUBLE_SLASH_RE = /(?!^)\/{2,}/g;
|
||||
function isStaticPattern(pattern, options = {}) {
|
||||
return !isDynamicPattern(pattern, options);
|
||||
}
|
||||
|
|
@ -15868,10 +15978,16 @@ function expandPatternsWithBraceExpansion(patterns) {
|
|||
}
|
||||
exports.expandPatternsWithBraceExpansion = expandPatternsWithBraceExpansion;
|
||||
function expandBraceExpansion(pattern) {
|
||||
return micromatch.braces(pattern, {
|
||||
expand: true,
|
||||
nodupes: true
|
||||
});
|
||||
const patterns = micromatch.braces(pattern, { expand: true, nodupes: true, keepEscaping: true });
|
||||
/**
|
||||
* Sort the patterns by length so that the same depth patterns are processed side by side.
|
||||
* `a/{b,}/{c,}/*` – `['a///*', 'a/b//*', 'a//c/*', 'a/b/c/*']`
|
||||
*/
|
||||
patterns.sort((a, b) => a.length - b.length);
|
||||
/**
|
||||
* Micromatch can return an empty string in the case of patterns like `{a,}`.
|
||||
*/
|
||||
return patterns.filter((pattern) => pattern !== '');
|
||||
}
|
||||
exports.expandBraceExpansion = expandBraceExpansion;
|
||||
function getPatternParts(pattern, options) {
|
||||
|
|
@ -15906,6 +16022,14 @@ function matchAny(entry, patternsRe) {
|
|||
return patternsRe.some((patternRe) => patternRe.test(entry));
|
||||
}
|
||||
exports.matchAny = matchAny;
|
||||
/**
|
||||
* This package only works with forward slashes as a path separator.
|
||||
* Because of this, we cannot use the standard `path.normalize` method, because on Windows platform it will use of backslashes.
|
||||
*/
|
||||
function removeDuplicateSlashes(pattern) {
|
||||
return pattern.replace(DOUBLE_SLASH_RE, '/');
|
||||
}
|
||||
exports.removeDuplicateSlashes = removeDuplicateSlashes;
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
@ -19325,6 +19449,7 @@ const statusCodeCacheableByDefault = new Set([
|
|||
206,
|
||||
300,
|
||||
301,
|
||||
308,
|
||||
404,
|
||||
405,
|
||||
410,
|
||||
|
|
@ -19397,10 +19522,10 @@ function parseCacheControl(header) {
|
|||
|
||||
// TODO: When there is more than one value present for a given directive (e.g., two Expires header fields, multiple Cache-Control: max-age directives),
|
||||
// the directive's value is considered invalid. Caches are encouraged to consider responses that have invalid freshness information to be stale
|
||||
const parts = header.trim().split(/\s*,\s*/); // TODO: lame parsing
|
||||
const parts = header.trim().split(/,/);
|
||||
for (const part of parts) {
|
||||
const [k, v] = part.split(/\s*=\s*/, 2);
|
||||
cc[k] = v === undefined ? true : v.replace(/^"|"$/g, ''); // TODO: lame unquoting
|
||||
const [k, v] = part.split(/=/, 2);
|
||||
cc[k.trim()] = v === undefined ? true : v.trim().replace(/^"|"$/g, '');
|
||||
}
|
||||
|
||||
return cc;
|
||||
|
|
|
|||
7427
package-lock.json
generated
7427
package-lock.json
generated
File diff suppressed because it is too large
Load diff
46
package.json
46
package.json
|
|
@ -40,31 +40,31 @@
|
|||
"xml2js": "^0.4.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@octokit/types": "^7.1.0",
|
||||
"@octokit/webhooks": "^10.1.5",
|
||||
"@octokit/webhooks-types": "^6.3.6",
|
||||
"@types/adm-zip": "^0.5.0",
|
||||
"@types/github-slugger": "^1.3.0",
|
||||
"@types/jest": "^28.1.7",
|
||||
"@types/node": "^18.7.7",
|
||||
"@types/picomatch": "^2.2.1",
|
||||
"@types/xml2js": "^0.4.8",
|
||||
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
||||
"@typescript-eslint/parser": "^5.33.1",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"@octokit/types": "^12.6.0",
|
||||
"@octokit/webhooks": "^13.0.2",
|
||||
"@octokit/webhooks-types": "^7.3.2",
|
||||
"@types/adm-zip": "^0.5.5",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/node": "^20.11.24",
|
||||
"@types/picomatch": "^2.3.3",
|
||||
"@types/xml2js": "^0.4.14",
|
||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||
"@typescript-eslint/parser": "^7.1.0",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"eol-converter-cli": "^1.0.8",
|
||||
"eslint": "^8.22.0",
|
||||
"eslint-import-resolver-typescript": "^3.4.2",
|
||||
"eslint-plugin-github": "^4.1.2",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jest": "^26.8.3",
|
||||
"jest": "^28.1.3",
|
||||
"jest-circus": "^28.1.3",
|
||||
"jest-junit": "^14.0.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-github": "^4.10.2",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-jest": "^27.9.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-circus": "^29.7.0",
|
||||
"jest-junit": "^16.0.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"prettier": "^2.7.1",
|
||||
"ts-jest": "^28.0.8",
|
||||
"typescript": "^4.7.4"
|
||||
"prettier": "^3.2.5",
|
||||
"ts-jest": "^29.1.2",
|
||||
"typescript": "^5.3.3",
|
||||
"typescript-eslint": "^7.1.0"
|
||||
},
|
||||
"jest-junit": {
|
||||
"suiteName": "jest tests",
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
import * as fs from 'fs'
|
||||
import glob from 'fast-glob'
|
||||
import {glob} from 'fast-glob'
|
||||
import {FileContent, InputProvider, ReportInput} from './input-provider'
|
||||
import {listFiles} from '../utils/git'
|
||||
|
||||
export class LocalFileProvider implements InputProvider {
|
||||
constructor(readonly name: string, readonly pattern: string[]) {}
|
||||
constructor(
|
||||
readonly name: string,
|
||||
readonly pattern: string[]
|
||||
) {}
|
||||
|
||||
async load(): Promise<ReportInput> {
|
||||
const result: FileContent[] = []
|
||||
|
|
|
|||
|
|
@ -117,8 +117,8 @@ class TestReporter {
|
|||
const workDir = this.buildDirInput
|
||||
? normalizeDirPath(this.buildDirInput, true)
|
||||
: this.artifact
|
||||
? undefined
|
||||
: normalizeDirPath(process.cwd(), true)
|
||||
? undefined
|
||||
: normalizeDirPath(process.cwd(), true)
|
||||
|
||||
if (parseErrors) core.info(`Found ${trackedFiles.length} files tracked by GitHub`)
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,12 @@ import {
|
|||
} from '../../test-results'
|
||||
|
||||
class TestRun {
|
||||
constructor(readonly path: string, readonly suites: TestSuite[], readonly success: boolean, readonly time: number) {}
|
||||
constructor(
|
||||
readonly path: string,
|
||||
readonly suites: TestSuite[],
|
||||
readonly success: boolean,
|
||||
readonly time: number
|
||||
) {}
|
||||
}
|
||||
|
||||
class TestSuite {
|
||||
|
|
@ -74,7 +79,10 @@ class TestCase {
|
|||
export class DartJsonParser implements TestParser {
|
||||
assumedWorkDir: string | undefined
|
||||
|
||||
constructor(readonly options: ParseOptions, readonly sdk: 'dart' | 'flutter') {}
|
||||
constructor(
|
||||
readonly options: ParseOptions,
|
||||
readonly sdk: 'dart' | 'flutter'
|
||||
) {}
|
||||
|
||||
async parse(path: string, content: string): Promise<TestRunResult> {
|
||||
const tr = this.getTestRun(path, content)
|
||||
|
|
|
|||
|
|
@ -145,7 +145,6 @@ export class DotnetTrxParser implements TestParser {
|
|||
return undefined
|
||||
}
|
||||
|
||||
|
||||
const message = test.error.Message[0]
|
||||
const stackTrace = test.error.StackTrace[0]
|
||||
let path
|
||||
|
|
@ -173,7 +172,7 @@ export class DotnetTrxParser implements TestParser {
|
|||
const match = str.match(re)
|
||||
if (match !== null) {
|
||||
const [_, fileStr, lineStr] = match
|
||||
|
||||
|
||||
const filePath = normalizeFilePath(fileStr)
|
||||
const workDir = this.getWorkDir(filePath)
|
||||
if (workDir) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,11 @@
|
|||
import {DEFAULT_LOCALE} from './utils/node-utils'
|
||||
|
||||
export class TestRunResult {
|
||||
constructor(readonly path: string, readonly suites: TestSuiteResult[], private totalTime?: number) {}
|
||||
constructor(
|
||||
readonly path: string,
|
||||
readonly suites: TestSuiteResult[],
|
||||
private totalTime?: number
|
||||
) {}
|
||||
|
||||
get tests(): number {
|
||||
return this.suites.reduce((sum, g) => sum + g.tests, 0)
|
||||
|
|
@ -40,7 +44,11 @@ export class TestRunResult {
|
|||
}
|
||||
|
||||
export class TestSuiteResult {
|
||||
constructor(readonly name: string, readonly groups: TestGroupResult[], private totalTime?: number) {}
|
||||
constructor(
|
||||
readonly name: string,
|
||||
readonly groups: TestGroupResult[],
|
||||
private totalTime?: number
|
||||
) {}
|
||||
|
||||
get tests(): number {
|
||||
return this.groups.reduce((sum, g) => sum + g.tests.length, 0)
|
||||
|
|
@ -78,7 +86,10 @@ export class TestSuiteResult {
|
|||
}
|
||||
|
||||
export class TestGroupResult {
|
||||
constructor(readonly name: string | undefined | null, readonly tests: TestCaseResult[]) {}
|
||||
constructor(
|
||||
readonly name: string | undefined | null,
|
||||
readonly tests: TestCaseResult[]
|
||||
) {}
|
||||
|
||||
get passed(): number {
|
||||
return this.tests.reduce((sum, t) => (t.result === 'success' ? sum + 1 : sum), 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue