low(ish) priority
|
const context = getContext() as TestContext | undefined; |
getContext as a pattern is one (of several) things that is preventing ember applications from running tests concurrently as it assumes only a single global test context exists at any one time.
Instead of assuming the global, we should prefer a passed in context.
low(ish) priority
ember-provide-consume-context/ember-provide-consume-context/src/test-support/index.ts
Line 29 in 4d9835e
getContextas a pattern is one (of several) things that is preventing ember applications from running tests concurrently as it assumes only a single global test context exists at any one time.Instead of assuming the global, we should prefer a passed in context.