I am a software engineer for a big company. I will be leaving the company in about 6 weeks. They asked me to learn new technologies which will take about 2 weeks to learn. They want me to then be the lead in that technology. If I only give 2 weeks notice, this means I will learn the new technology, work for 2 weeks, then give my 2 weeks notice. This seems like a loss for the company as well as my time, as I would never use this technology again.
Should I just keep going as though I am going to stay at the company? Or should I let them know the plan?
If I tell them in advance, do I run the risk of losing employment sooner than I am ready? It seems to me the ethical thing to do is inform them, but I am afraid it could backfire.