Git Product home page Git Product logo

Comments (5)

vlascik avatar vlascik commented on June 2, 2024 1

I also already converted this addon to native classes (typescript, really) in #390.
There's a problem there, with either lint or tests failing, but maybe someone could take a look at it for an hour or two and get it through the finish line.

from ember-cli-flash.

NullVoxPopuli avatar NullVoxPopuli commented on June 2, 2024

https://github.com/adopted-ember-addons/ember-cli-flash/blob/master/ember-cli-flash/src/test-support.js

does it make sense to make this automatic at all? rather than manually invoked?

from ember-cli-flash.

gilest avatar gilest commented on June 2, 2024

does it make sense to make this automatic at all? rather than manually invoked?

I'm not sure I understand what you mean ๐Ÿคจ

There is an "automatic" default โ€“ the timeout behaviour is disabled during test runs.

The helper sets an option which overrides this default. Most users will never need to use the helper. It's a compatibility patch which allows for fine-grained control of test behaviour.

Implementation in FlashObject
Upgrade guide

from ember-cli-flash.

NullVoxPopuli avatar NullVoxPopuli commented on June 2, 2024

Oh ok, thanks for the link!

from ember-cli-flash.

gilest avatar gilest commented on June 2, 2024

Today I have tested the dist build in two apps:

  • relatively modern ember app with classic build
  • modern, fastbooted ember app with fully static embroider

In both apps the test suite passes and I have manually verified that flash messages show as expected.

I think we're ready to cut a 5.0 major @NullVoxPopuli . Happy to help with this

from ember-cli-flash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.